Get directory flags for an inode. # Arguments `txn` - A transaction (read or write) `inode` - The inode to check # Returns The directory flags if this inode is a directory, `None` if it's a file.
(txn: &T, inode: Inode)
| 668 | /// |
| 669 | /// The directory flags if this inode is a directory, `None` if it's a file. |
| 670 | pub fn get_directory_flags<T: TreeTxnT>(txn: &T, inode: Inode) -> TrackingResult<Option<u8>> { |
| 671 | txn.get_directory_flags(inode) |
| 672 | .map_err(|e| TrackingError::Database(e.to_string())) |
| 673 | } |
| 674 | |
| 675 | /// Update directory flags (e.g., when adding/removing children). |
| 676 | /// |
no test coverage detected