MCPcopy Create free account
hub / github.com/carsonpo/haystackdb / cmp

Method cmp

src/structures/metadata_index.rs:38–42  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

36
37impl Ord for KVPair {
38 fn cmp(&self, other: &Self) -> std::cmp::Ordering {
39 self.key
40 .cmp(&other.key)
41 .then_with(|| self.value.cmp(&other.value))
42 }
43}
44
45impl Display for KVPair {

Callers 2

batch_insertMethod · 0.80
partial_cmpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected