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

Method Less

pkg/blobserver/files/enumerate_test.go:122–124  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

120}
121
122func (sb SortedSizedBlobs) Less(i, j int) bool {
123 return sb[i].Ref.String() < sb[j].Ref.String()
124}
125
126func (sb SortedSizedBlobs) Swap(i, j int) {
127 panic("not needed")

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected