Get the path for an inode. # Arguments `txn` - A transaction (read or write) `inode` - The inode to look up
(txn: &T, inode: Inode)
| 921 | /// * `txn` - A transaction (read or write) |
| 922 | /// * `inode` - The inode to look up |
| 923 | pub fn get_path<T: TreeTxnT>(txn: &T, inode: Inode) -> TrackingResult<Option<String>> { |
| 924 | txn.get_path(inode) |
| 925 | .map_err(|e| TrackingError::Database(e.to_string())) |
| 926 | } |
| 927 | |
| 928 | /// List all tracked files. |
| 929 | /// |