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

Method indicates_corruption

atomic-core/src/crdt/apply/conflict.rs:135–137  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

133 /// Returns `true` if this conflict indicates potential data corruption.
134 #[inline]
135 pub fn indicates_corruption(&self) -> bool {
136 matches!(self, ConflictKind::OrderingCycle)
137 }
138
139 /// Returns a short description of this conflict kind.
140 pub fn description(&self) -> &'static str {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected