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

Source from the content-addressed store, hash-verified

2215 }
2216
2217 fn put_crdt_branch_leaf(
2218 &mut self,
2219 branch_key: &[u8; 12],
2220 leaf_key: &[u8; 12],
2221 ) -> PristineResult<()> {
2222 let mut table = self.txn.open_multimap_table(BRANCH_LEAVES)?;
2223 table.insert(branch_key, leaf_key)?;
2224 Ok(())
2225 }
2226
2227 fn put_crdt_branch_vertex(
2228 &mut self,

Calls 1

insertMethod · 0.45