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

Method IsSchema

x/keys.go:348–350  ·  view source on GitHub ↗

IsSchema returns whether the key is a schema key.

()

Source from the content-addressed store, hash-verified

346
347// IsSchema returns whether the key is a schema key.
348func (p ParsedKey) IsSchema() bool {
349 return p.bytePrefix == ByteSchema
350}
351
352// IsType returns whether the key is a type key.
353func (p ParsedKey) IsType() bool {

Callers 12

ToBackupKeyMethod · 0.95
batchAndProposeKeyValuesFunction · 0.95
uidToValFunction · 0.80
printKeysFunction · 0.80
runFunction · 0.80
TestSchemaKeyFunction · 0.80
WriteBackupMethod · 0.80
processReqChMethod · 0.80
doStreamSnapshotFunction · 0.80
readSchemaFunction · 0.80
exportSchemaFunction · 0.80
WriteMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestSchemaKeyFunction · 0.64