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

Method merge

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

Merges another tracker's conflicts into this one.

(&mut self, other: CrdtConflictTracker)

Source from the content-addressed store, hash-verified

632
633 /// Merges another tracker's conflicts into this one.
634 pub fn merge(&mut self, other: CrdtConflictTracker) {
635 self.conflicts.extend(other.conflicts);
636 }
637
638 /// Merges another tracker's conflicts by reference.
639 pub fn merge_from(&mut self, other: &CrdtConflictTracker) {

Callers 1

test_tracker_mergeFunction · 0.45

Calls 1

extendMethod · 0.80

Tested by 1

test_tracker_mergeFunction · 0.36