| 124 | ) -> PristineResult<Vec<InodeAttrEvent>>; |
| 125 | |
| 126 | fn resolve_inode_attr( |
| 127 | &self, |
| 128 | position: Position<NodeId>, |
| 129 | name: InodeAttrName, |
| 130 | visible_changes: &HashSet<NodeId>, |
| 131 | ) -> PristineResult<InodeAttrState> { |
| 132 | let candidates: Vec<InodeAttrEvent> = self |
| 133 | .get_inode_attr_events(position, name)? |
| 134 | .into_iter() |
| 135 | .filter(|event| visible_changes.contains(&event.introduced_by)) |
| 136 | .collect(); |
| 137 | let mut maxima = attr_event_dependency_frontier(self, candidates)?; |
| 138 | maxima.dedup_by_key(|event| event.value); |
| 139 | Ok(InodeAttrState { events: maxima }) |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | /// Mutable access to graph-backed inode attributes. |