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

Method merge_from

atomic-core/src/crdt/apply/conflict.rs:639–641  ·  view source on GitHub ↗

Merges another tracker's conflicts by reference.

(&mut self, other: &CrdtConflictTracker)

Source from the content-addressed store, hash-verified

637
638 /// Merges another tracker's conflicts by reference.
639 pub fn merge_from(&mut self, other: &CrdtConflictTracker) {
640 self.conflicts.extend(other.conflicts.iter().cloned());
641 }
642}
643
644impl IntoIterator for CrdtConflictTracker {

Callers 1

test_tracker_merge_fromFunction · 0.80

Calls 2

extendMethod · 0.80
iterMethod · 0.45

Tested by 1

test_tracker_merge_fromFunction · 0.64