(
&self,
adj: &mut InodeAdjState,
)
| 92 | } |
| 93 | |
| 94 | fn next_inode_adj( |
| 95 | &self, |
| 96 | adj: &mut InodeAdjState, |
| 97 | ) -> Option<Result<SerializedGraphEdge, Self::InodeError>> { |
| 98 | // Filter inode edges by the view's visible change set, |
| 99 | // same as iter_adjacent does for the global GRAPH. |
| 100 | loop { |
| 101 | match self.inner.next_inode_adj(adj) { |
| 102 | Some(Ok(edge)) => { |
| 103 | let introduced = edge.introduced_by(); |
| 104 | if introduced.is_root() || self.visible.contains(&introduced) { |
| 105 | return Some(Ok(edge)); |
| 106 | } |
| 107 | // Edge from a non-visible change — skip it |
| 108 | continue; |
| 109 | } |
| 110 | other => return other, |
| 111 | } |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | fn find_block_in_inode( |
| 116 | &self, |
nothing calls this directly
no test coverage detected