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

Method alloc_inode

atomic-core/src/crdt/apply/traits.rs:671–675  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

669 }
670
671 fn alloc_inode(&mut self) -> Result<Inode, Self::Error> {
672 let inode = Inode::new(self.next_inode);
673 self.next_inode += 1;
674 Ok(inode)
675 }
676 }
677
678 // Trunk Tests

Callers 2

create_trunkMethod · 0.45
test_alloc_inodeFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_alloc_inodeFunction · 0.36