(&self, path: &str)
| 707 | |
| 708 | impl TreeTxnT for ScriptedTxn { |
| 709 | fn get_inode(&self, path: &str) -> Result<Option<Inode>, PristineError> { |
| 710 | Ok(self |
| 711 | .tree |
| 712 | .iter() |
| 713 | .find_map(|(candidate, inode)| (candidate == path).then_some(*inode))) |
| 714 | } |
| 715 | |
| 716 | fn get_directory_flags(&self, _inode: Inode) -> Result<Option<u8>, PristineError> { |
| 717 | Ok(None) |