(ctx context.Context, key string, ttl time.Duration, value string)
| 252 | } |
| 253 | |
| 254 | func (c cmdable) RestoreReplace(ctx context.Context, key string, ttl time.Duration, value string) *StatusCmd { |
| 255 | cmd := NewStatusCmd( |
| 256 | ctx, |
| 257 | "restore", |
| 258 | key, |
| 259 | formatMs(ctx, ttl), |
| 260 | value, |
| 261 | "replace", |
| 262 | ) |
| 263 | _ = c(ctx, cmd) |
| 264 | return cmd |
| 265 | } |
| 266 | |
| 267 | type Sort struct { |
| 268 | By string |
nothing calls this directly
no test coverage detected