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

Method branch

atomic-core/src/crdt/apply/conflict.rs:446–448  ·  view source on GitHub ↗
(self, branch_id: BranchId)

Source from the content-addressed store, hash-verified

444 /// Sets the branch as the primary entity.
445 #[inline]
446 pub fn branch(self, branch_id: BranchId) -> Self {
447 self.entity(ConflictEntity::Branch(branch_id))
448 }
449
450 /// Sets the leaf as the primary entity.
451 #[inline]

Callers 8

put_leafMethod · 0.45
del_leafMethod · 0.45
put_leafMethod · 0.45
del_leafMethod · 0.45
validate_leaf_parentFunction · 0.45
put_leafMethod · 0.45
del_leafMethod · 0.45
test_conflict_builderFunction · 0.45

Calls 2

BranchClass · 0.85
entityMethod · 0.80

Tested by 1

test_conflict_builderFunction · 0.36