(&self, inode: Inode)
| 791 | } |
| 792 | |
| 793 | fn get_path(&self, inode: Inode) -> PristineResult<Option<String>> { |
| 794 | let table = self.txn.open_table(REV_TREE)?; |
| 795 | let result = table.get(inode.get())?; |
| 796 | match result { |
| 797 | Some(value) => Ok(Some(value.value().to_string())), |
| 798 | None => Ok(None), |
| 799 | } |
| 800 | } |
| 801 | |
| 802 | fn inode_position(&self, inode: Inode) -> PristineResult<Option<Position<NodeId>>> { |
| 803 | let table = self.txn.open_table(INODES)?; |
no test coverage detected