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

Source from the content-addressed store, hash-verified

1107 }
1108
1109 fn put_crdt_branch_leaf(
1110 &mut self,
1111 branch_key: &[u8; 12],
1112 leaf_key: &[u8; 12],
1113 ) -> PristineResult<()> {
1114 let mut table = self.txn.open_multimap_table(BRANCH_LEAVES)?;
1115 table.insert(branch_key, leaf_key)?;
1116 Ok(())
1117 }
1118
1119 fn put_crdt_branch_vertex(
1120 &mut self,

Callers 1

put_leafFunction · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected