MCPcopy Create free account
hub / github.com/cockroachdb/redact / Less

Method Less

util.go:61–61  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

59
60func (p sortableSlice) Len() int { return len(p) }
61func (p sortableSlice) Less(i, j int) bool { return p[i] < p[j] }
62func (p sortableSlice) Swap(i, j int) { p[i], p[j] = p[j], p[i] }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected