MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / Less

Method Less

consistent/consistent.go:57–57  ·  view source on GitHub ↗

Less returns true if node i is less than node j.

(i, j int)

Source from the content-addressed store, hash-verified

55
56// Less returns true if node i is less than node j.
57func (x NodeKeys) Less(i, j int) bool { return x[i].Less(&x[j]) }
58
59// Swap exchanges nodes i and j.
60func (x NodeKeys) Swap(i, j int) { x[i], x[j] = x[j], x[i] }

Callers 1

searchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected