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

Method alloc_inode

atomic-core/src/crdt/apply/leaf.rs:614–618  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

612 }
613
614 fn alloc_inode(&mut self) -> Result<Inode, Self::Error> {
615 let inode = Inode::new(self.next_inode);
616 self.next_inode += 1;
617 Ok(inode)
618 }
619 }
620
621 // Helper Functions

Calls

no outgoing calls