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

Method trunk

atomic-core/src/crdt/apply/conflict.rs:440–442  ·  view source on GitHub ↗
(self, trunk_id: TrunkId)

Source from the content-addressed store, hash-verified

438 /// Sets the trunk as the primary entity.
439 #[inline]
440 pub fn trunk(self, trunk_id: TrunkId) -> Self {
441 self.entity(ConflictEntity::Trunk(trunk_id))
442 }
443
444 /// Sets the branch as the primary entity.
445 #[inline]

Callers 7

put_branchMethod · 0.45
del_branchMethod · 0.45
validate_branch_parentFunction · 0.45
put_branchMethod · 0.45
del_branchMethod · 0.45
put_branchMethod · 0.45
del_branchMethod · 0.45

Calls 2

TrunkClass · 0.85
entityMethod · 0.80

Tested by

no test coverage detected