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

Method new

atomic-core/src/crdt/apply/branch.rs:492–497  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

490
491 impl MockTxn {
492 fn new() -> Self {
493 Self {
494 next_inode: 1,
495 ..Default::default()
496 }
497 }
498
499 fn add_trunk(&mut self, trunk: Trunk) {
500 self.trunks.insert(trunk.id(), trunk);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected