mirror of https://github.com/perkeep/perkeep.git
Document sorted.Wiper more.
Change-Id: Iede5cf3ec12453910594c682a3a18f8c237fbd40
This commit is contained in:
parent
9f8e9e57fd
commit
bf203d6ff7
|
@ -62,7 +62,11 @@ type KeyValue interface {
|
||||||
Close() error
|
Close() error
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Wiper is an optional interface that may be implemented by storage
|
||||||
|
// implementations.
|
||||||
type Wiper interface {
|
type Wiper interface {
|
||||||
|
KeyValue
|
||||||
|
|
||||||
// Wipe removes all key/value pairs.
|
// Wipe removes all key/value pairs.
|
||||||
Wipe() error
|
Wipe() error
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue