diff --git a/pkg/sorted/kv.go b/pkg/sorted/kv.go index 57cc8d927..9fa96b6cf 100644 --- a/pkg/sorted/kv.go +++ b/pkg/sorted/kv.go @@ -62,7 +62,11 @@ type KeyValue interface { Close() error } +// Wiper is an optional interface that may be implemented by storage +// implementations. type Wiper interface { + KeyValue + // Wipe removes all key/value pairs. Wipe() error }