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:
Roman Khimov 2021-12-06 18:06:34 +03:00
parent d42d4fc812
commit f8d5c5ff79

View file

@ -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