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

Method get_crdt_trunk

atomic-core/src/pristine/view_graph.rs:418–423  ·  view source on GitHub ↗
(
        &self,
        key: &[u8; 12],
    )

Source from the content-addressed store, hash-verified

416
417impl<'a, T: crate::pristine::CrdtTxnT> crate::pristine::CrdtTxnT for ViewGraph<'a, T> {
418 fn get_crdt_trunk(
419 &self,
420 key: &[u8; 12],
421 ) -> Result<Option<crate::crdt::tables::SerializedTrunk>, PristineError> {
422 self.inner.get_crdt_trunk(key)
423 }
424
425 fn get_crdt_inode_trunk(&self, inode: u64) -> Result<Option<[u8; 12]>, PristineError> {
426 self.inner.get_crdt_inode_trunk(inode)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected