Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
834
func
(s ByRef) Len() int {
return
len(s) }
835
func
(s ByRef) Less(i, j int) bool {
return
s[i].Less(s[j]) }
836
func
(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
Less
Method · 0.45
Tested by
no test coverage detected