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

Method alloc_inode

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

Source from the content-addressed store, hash-verified

525 }
526
527 fn alloc_inode(&mut self) -> Result<Inode, Self::Error> {
528 let inode = Inode::new(self.next_inode);
529 self.next_inode += 1;
530 Ok(inode)
531 }
532 }
533
534 // Create Tests

Callers 1

apply_createFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected