IsCountRev returns whether the key is a count rev key.
()
| 336 | |
| 337 | // IsCountRev returns whether the key is a count rev key. |
| 338 | func (p ParsedKey) IsCountRev() bool { |
| 339 | return (p.bytePrefix == DefaultPrefix || p.bytePrefix == ByteSplit) && p.ByteType == ByteCountRev |
| 340 | } |
| 341 | |
| 342 | // IsIndex returns whether the key is an index key. |
| 343 | func (p ParsedKey) IsIndex() bool { |
no outgoing calls
no test coverage detected