MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / cmp

Method cmp

src/ssh-util/src/keys.rs:104–108  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

102
103impl Ord for SshKeyPair {
104 fn cmp(&self, other: &Self) -> Ordering {
105 self.key_pair
106 .fingerprint(HashAlg::default())
107 .cmp(&other.key_pair.fingerprint(HashAlg::default()))
108 }
109}
110
111impl Serialize for SshKeyPair {

Callers 2

productMethod · 0.45
partial_cmpMethod · 0.45

Calls 1

fingerprintMethod · 0.45

Tested by

no test coverage detected