MCPcopy Create free account
hub / github.com/chanced/jsonptr / partial_cmp

Method partial_cmp

src/pointer.rs:799–801  ·  view source on GitHub ↗
(&self, other: &PointerBuf)

Source from the content-addressed store, hash-verified

797
798impl PartialOrd<PointerBuf> for Pointer {
799 fn partial_cmp(&self, other: &PointerBuf) -> Option<Ordering> {
800 self.0.partial_cmp(other.0.as_str())
801 }
802}
803
804impl PartialOrd<Pointer> for PointerBuf {

Callers

nothing calls this directly

Calls 1

as_strMethod · 0.80

Tested by

no test coverage detected