(ctx context.Context, key string, ttl time.Duration, value string)
| 240 | } |
| 241 | |
| 242 | func (c cmdable) Restore(ctx context.Context, key string, ttl time.Duration, value string) *StatusCmd { |
| 243 | cmd := NewStatusCmd( |
| 244 | ctx, |
| 245 | "restore", |
| 246 | key, |
| 247 | formatMs(ctx, ttl), |
| 248 | value, |
| 249 | ) |
| 250 | _ = c(ctx, cmd) |
| 251 | return cmd |
| 252 | } |
| 253 | |
| 254 | func (c cmdable) RestoreReplace(ctx context.Context, key string, ttl time.Duration, value string) *StatusCmd { |
| 255 | cmd := NewStatusCmd( |
nothing calls this directly
no test coverage detected