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

Method Less

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

Source from the content-addressed store, hash-verified

840
841func (s SizedByRef) Len() int { return len(s) }
842func (s SizedByRef) Less(i, j int) bool { return s[i].Less(s[j]) }
843func (s SizedByRef) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
844
845// TypeAlphabet returns the valid characters in the given blobref type.

Callers

nothing calls this directly

Calls 1

LessMethod · 0.45

Tested by

no test coverage detected