MCPcopy
hub / github.com/redis/go-redis / Hash

Method Hash

script.go:55–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func (s *Script) Hash() string {
56 s.mu.RLock()
57 defer s.mu.RUnlock()
58 return s.hash
59}
60
61func (s *Script) Load(ctx context.Context, c Scripter) *StringCmd {
62 cmd := c.ScriptLoad(ctx, s.src)

Callers 3

osscluster_test.goFile · 0.45
DigestBytesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected