Less satisfies the BTree.Less interface using the btreeString's LessFunction.
(i btree.Item)
| 27 | |
| 28 | // Less satisfies the BTree.Less interface using the btreeString's LessFunction. |
| 29 | func (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. |
| 34 | type BTreeIndex struct { |
nothing calls this directly
no outgoing calls
no test coverage detected