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

Method content_eq

atomic-core/src/crdt/branch.rs:220–222  ·  view source on GitHub ↗
(&self, other: &Branch)

Source from the content-addressed store, hash-verified

218 /// Returns `true` if this branch has the same content hash as another.
219 #[inline]
220 pub fn content_eq(&self, other: &Branch) -> bool {
221 self.line_hash == other.line_hash
222 }
223}
224
225impl fmt::Display for Branch {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected