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

Method Less

pkg/blob/ref.go:51–53  ·  view source on GitHub ↗

Less reports whether sr sorts before o. Invalid references blobs sort first.

(o SizedRef)

Source from the content-addressed store, hash-verified

49
50// Less reports whether sr sorts before o. Invalid references blobs sort first.
51func (sr SizedRef) Less(o SizedRef) bool {
52 return sr.Ref.Less(o.Ref)
53}
54
55func (sr SizedRef) Valid() bool { return sr.Ref.Valid() }
56

Callers

nothing calls this directly

Calls 1

LessMethod · 0.45

Tested by

no test coverage detected