(
&self,
position: Position<NodeId>,
)
| 729 | } |
| 730 | |
| 731 | fn position_inode( |
| 732 | &self, |
| 733 | position: Position<NodeId>, |
| 734 | ) -> Result<Option<Inode>, PristineError> { |
| 735 | Ok(self |
| 736 | .positions |
| 737 | .iter() |
| 738 | .find_map(|(inode, candidate)| (*candidate == position).then_some(*inode))) |
| 739 | } |
| 740 | |
| 741 | fn iter_tree( |
| 742 | &self, |