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

Method put_directory

atomic-core/src/pristine/txn/write/mod.rs:1036–1040  ·  view source on GitHub ↗
(&mut self, inode: Inode, flags: u8)

Source from the content-addressed store, hash-verified

1034 }
1035
1036 fn put_directory(&mut self, inode: Inode, flags: u8) -> PristineResult<()> {
1037 let mut table = self.txn.open_table(DIRECTORIES)?;
1038 table.insert(inode.get(), flags)?;
1039 Ok(())
1040 }
1041
1042 fn del_directory(&mut self, inode: Inode) -> PristineResult<Option<u8>> {
1043 let mut table = self.txn.open_table(DIRECTORIES)?;

Callers 11

test_directory_delFunction · 0.80
write_import_recordedMethod · 0.80
insert_changeMethod · 0.80
write_recordedMethod · 0.80
add_to_treeFunction · 0.80
add_directory_to_treeFunction · 0.80

Calls 2

getMethod · 0.65
insertMethod · 0.45

Tested by 5

test_directory_delFunction · 0.64