MCPcopy Create free account
hub / github.com/peterbourgon/diskv / Less

Method Less

index.go:29–31  ·  view source on GitHub ↗

Less satisfies the BTree.Less interface using the btreeString's LessFunction.

(i btree.Item)

Source from the content-addressed store, hash-verified

27
28// Less satisfies the BTree.Less interface using the btreeString's LessFunction.
29func (s btreeString) Less(i btree.Item) bool {
30 return s.l(s.s, i.(btreeString).s)
31}
32
33// BTreeIndex is an implementation of the Index interface using google/btree.
34type BTreeIndex struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected