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

Method add_branch

atomic-core/src/crdt/apply/leaf.rs:447–449  ·  view source on GitHub ↗
(&mut self, branch: Branch)

Source from the content-addressed store, hash-verified

445 }
446
447 fn add_branch(&mut self, branch: Branch) {
448 self.branches.insert(branch.id(), branch);
449 }
450 }
451
452 impl MutCrdtTxnT for MockTxn {

Callers 1

create_test_branchFunction · 0.80

Calls 2

insertMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected