MCPcopy
hub / github.com/dgraph-io/dgraph / IsCountRev

Method IsCountRev

x/keys.go:338–340  ·  view source on GitHub ↗

IsCountRev returns whether the key is a count rev key.

()

Source from the content-addressed store, hash-verified

336
337// IsCountRev returns whether the key is a count rev key.
338func (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.
343func (p ParsedKey) IsIndex() bool {

Callers 2

IsCountOrCountRevMethod · 0.95
ToBackupKeyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected