Get the path for an inode. # Arguments `txn` - A transaction (read or write) `inode` - The inode to look up
(txn: &T, inode: Inode)
| 308 | /// * `txn` - A transaction (read or write) |
| 309 | /// * `inode` - The inode to look up |
| 310 | pub fn get_path<T: TreeTxnT>(txn: &T, inode: Inode) -> TrackingResult<Option<String>> { |
| 311 | txn.get_path(inode) |
| 312 | .map_err(|e| TrackingError::Database(e.to_string())) |
| 313 | } |
| 314 | |
| 315 | /// List all tracked files. |
| 316 | /// |