MCPcopy
hub / github.com/perkeep/perkeep / Less

Method Less

pkg/blob/ref.go:835–835  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

833
834func (s ByRef) Len() int { return len(s) }
835func (s ByRef) Less(i, j int) bool { return s[i].Less(s[j]) }
836func (s ByRef) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
837
838// SizedByRef sorts SizedRefs by their blobref.

Callers

nothing calls this directly

Calls 1

LessMethod · 0.45

Tested by

no test coverage detected