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