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

Method put_crdt_branch_leaf

atomic-core/src/pristine/txn/write/mod.rs:1724–1732  ·  view source on GitHub ↗
(
        &mut self,
        branch_key: &[u8; 12],
        leaf_key: &[u8; 12],
    )

Source from the content-addressed store, hash-verified

1722 }
1723
1724 fn put_crdt_branch_leaf(
1725 &mut self,
1726 branch_key: &[u8; 12],
1727 leaf_key: &[u8; 12],
1728 ) -> PristineResult<()> {
1729 let mut table = self.txn.open_multimap_table(BRANCH_LEAVES)?;
1730 table.insert(branch_key, leaf_key)?;
1731 Ok(())
1732 }
1733
1734 fn put_crdt_branch_vertex(
1735 &mut self,

Callers 1

put_leafFunction · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected