Get the inode for a tracked path. # Arguments `txn` - A transaction (read or write) `path` - The normalized path string
(txn: &T, path: &str)
| 297 | /// * `txn` - A transaction (read or write) |
| 298 | /// * `path` - The normalized path string |
| 299 | pub fn get_inode<T: TreeTxnT>(txn: &T, path: &str) -> TrackingResult<Option<Inode>> { |
| 300 | txn.get_inode(path) |
| 301 | .map_err(|e| TrackingError::Database(e.to_string())) |
| 302 | } |
| 303 | |
| 304 | /// Get the path for an inode. |
| 305 | /// |