interop/storage: fix outdated RemovePrefix comment
ffaae0f773
changed the behavior long time ago,
we're actually stripping whole requested prefix.
This commit is contained in:
parent
d42d4fc812
commit
f8d5c5ff79
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ const (
|
||||||
None FindFlags = 0
|
None FindFlags = 0
|
||||||
// KeysOnly is used for iterating over keys.
|
// KeysOnly is used for iterating over keys.
|
||||||
KeysOnly FindFlags = 1 << 0
|
KeysOnly FindFlags = 1 << 0
|
||||||
// RemovePrefix is used for stripping 1-byte prefix from keys.
|
// RemovePrefix is used for stripping prefix (passed to Find) from keys.
|
||||||
RemovePrefix FindFlags = 1 << 1
|
RemovePrefix FindFlags = 1 << 1
|
||||||
// ValuesOnly is used for iterating over values.
|
// ValuesOnly is used for iterating over values.
|
||||||
ValuesOnly FindFlags = 1 << 2
|
ValuesOnly FindFlags = 1 << 2
|
||||||
|
|
Loading…
Reference in a new issue