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

Method alloc_inode

atomic-core/src/crdt/apply/branch.rs:666–670  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

664 }
665
666 fn alloc_inode(&mut self) -> Result<Inode, Self::Error> {
667 let inode = Inode::new(self.next_inode);
668 self.next_inode += 1;
669 Ok(inode)
670 }
671 }
672
673 // Helper Functions

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected