(ctx context.Context, script string)
| 30 | } |
| 31 | |
| 32 | func (f *fakeScripter) ScriptLoad(ctx context.Context, script string) *StringCmd { |
| 33 | f.mu.Lock() |
| 34 | f.scriptLoadCalls++ |
| 35 | f.mu.Unlock() |
| 36 | |
| 37 | cmd := NewStringCmd(ctx) |
| 38 | cmd.SetVal(f.hashToReturn) |
| 39 | return cmd |
| 40 | } |
| 41 | |
| 42 | func (f *fakeScripter) ScriptExists(ctx context.Context, hashes ...string) *BoolSliceCmd { |
| 43 | cmd := NewBoolSliceCmd(ctx) |
nothing calls this directly
no test coverage detected