Get the inode for a tracked path. # Arguments `txn` - A transaction (read or write) `path` - The normalized path string
(txn: &T, path: &str)
| 910 | /// * `txn` - A transaction (read or write) |
| 911 | /// * `path` - The normalized path string |
| 912 | pub fn get_inode<T: TreeTxnT>(txn: &T, path: &str) -> TrackingResult<Option<Inode>> { |
| 913 | txn.get_inode(path) |
| 914 | .map_err(|e| TrackingError::Database(e.to_string())) |
| 915 | } |
| 916 | |
| 917 | /// Get the path for an inode. |
| 918 | /// |