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

Method add_conflict

atomic-core/src/crdt/apply/context.rs:203–205  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

201 /// Records a conflict detection.
202 #[inline]
203 pub fn add_conflict(&mut self) {
204 self.conflicts_detected += 1;
205 }
206
207 /// Records a skipped operation.
208 #[inline]

Calls 2

fail_on_conflictMethod · 0.80
pushMethod · 0.45

Tested by 8

test_stats_conflictsFunction · 0.36
test_stats_mergeFunction · 0.36
test_outcome_into_partsFunction · 0.36