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

Method leaf

atomic-core/src/crdt/apply/conflict.rs:452–454  ·  view source on GitHub ↗
(self, leaf_id: LeafId)

Source from the content-addressed store, hash-verified

450 /// Sets the leaf as the primary entity.
451 #[inline]
452 pub fn leaf(self, leaf_id: LeafId) -> Self {
453 self.entity(ConflictEntity::Leaf(leaf_id))
454 }
455
456 /// Sets the path as the primary entity.
457 #[inline]

Callers

nothing calls this directly

Calls 2

LeafClass · 0.85
entityMethod · 0.80

Tested by

no test coverage detected