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:1630–1638  ·  view source on GitHub ↗
(
        &mut self,
        branch_key: &[u8; 12],
        leaf_key: &[u8; 12],
    )

Source from the content-addressed store, hash-verified

1628 }
1629
1630 fn put_crdt_branch_leaf(
1631 &mut self,
1632 branch_key: &[u8; 12],
1633 leaf_key: &[u8; 12],
1634 ) -> PristineResult<()> {
1635 let mut table = self.txn.open_multimap_table(BRANCH_LEAVES)?;
1636 table.insert(branch_key, leaf_key)?;
1637 Ok(())
1638 }
1639
1640 fn put_crdt_branch_vertex(
1641 &mut self,

Callers 1

put_leafFunction · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected