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

Method get_leaf

atomic-core/src/crdt/apply/trunk.rs:491–496  ·  view source on GitHub ↗
(
            &self,
            _: crate::crdt::LeafId,
        )

Source from the content-addressed store, hash-verified

489 Ok(true)
490 }
491 fn get_leaf(
492 &self,
493 _: crate::crdt::LeafId,
494 ) -> Result<Option<crate::crdt::Leaf>, Self::Error> {
495 Ok(None)
496 }
497 fn has_leaf(&self, _: crate::crdt::LeafId) -> Result<bool, Self::Error> {
498 Ok(false)
499 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected