MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / IsCount

Method IsCount

x/keys.go:333–335  ·  view source on GitHub ↗

IsCount returns whether the key is a count key.

()

Source from the content-addressed store, hash-verified

331
332// IsCount returns whether the key is a count key.
333func (p ParsedKey) IsCount() bool {
334 return (p.bytePrefix == DefaultPrefix || p.bytePrefix == ByteSplit) && p.ByteType == ByteCount
335}
336
337// IsCountRev returns whether the key is a count rev key.
338func (p ParsedKey) IsCountRev() bool {

Callers 2

IsCountOrCountRevMethod · 0.95
ToBackupKeyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected