MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / partial_cmp

Method partial_cmp

atomic-core/src/crdt/apply/order.rs:247–249  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

245
246impl<Id: Clone + Eq + Ord> PartialOrd for OrderingEntry<Id> {
247 fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
248 Some(self.cmp(other))
249 }
250}
251
252// OrderingSequence

Callers 4

repair_diff_linesMethod · 0.80
search_embeddingsMethod · 0.80
search_embeddingsMethod · 0.80

Calls 1

cmpMethod · 0.80

Tested by

no test coverage detected