MCPcopy Create free account
hub / github.com/emwalker/digraph / cmp

Method cmp

backend/src/git/search.rs:75–77  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

73
74impl std::cmp::Ord for Search {
75 fn cmp(&self, other: &Self) -> std::cmp::Ordering {
76 (&self.urls, &self.tokens).cmp(&(&other.urls, &other.tokens))
77 }
78}
79
80impl std::cmp::PartialOrd for Search {

Callers 1

partial_cmpMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected