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

Method get_directory_flags

atomic-core/src/pristine/txn/read.rs:787–791  ·  view source on GitHub ↗
(&self, inode: Inode)

Source from the content-addressed store, hash-verified

785 }
786
787 fn get_directory_flags(&self, inode: Inode) -> PristineResult<Option<u8>> {
788 let table = self.txn.open_table(DIRECTORIES)?;
789 let result = table.get(inode.get())?;
790 Ok(result.map(|v| v.value()))
791 }
792
793 fn get_path(&self, inode: Inode) -> PristineResult<Option<String>> {
794 let table = self.txn.open_table(REV_TREE)?;

Callers 1

is_directoryMethod · 0.45

Calls 2

valueMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected