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

Method alloc_inode

atomic-core/src/crdt/apply/trunk.rs:520–524  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

518 }
519
520 fn alloc_inode(&mut self) -> Result<Inode, Self::Error> {
521 let inode = Inode::new(self.next_inode);
522 self.next_inode += 1;
523 Ok(inode)
524 }
525 }
526
527 // Create Tests

Callers 1

apply_createFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected