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

Callers 10

apply_file_ops_batchedFunction · 0.45
apply_trunk_opFunction · 0.45
write_import_recordedMethod · 0.45
insert_changeMethod · 0.45
write_recordedMethod · 0.45
add_to_treeFunction · 0.45
add_directory_to_treeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected