MCPcopy
hub / github.com/etcd-io/bbolt / compareKeys

Function compareKeys

node.go:528–530  ·  view source on GitHub ↗

dump writes the contents of the node to STDERR for debugging purposes. * func (n *node) dump() { // Write node header. var typ = "branch" if n.isLeaf { typ = "leaf" } warnf("[NODE %d {type=%s count=%d}]", n.pgid, typ, len(n.inodes)) // Write out abbreviated version of each item. for _, ite

(left, right []byte)

Source from the content-addressed store, hash-verified

526*/
527
528func compareKeys(left, right []byte) int {
529 return bytes.Compare(left, right)
530}
531
532type nodes []*node
533

Callers 1

verifyKeyOrderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected