(
txn: &T,
change_id: NodeId,
)
| 129 | } |
| 130 | |
| 131 | fn load_frame<T: GraphTxnT>( |
| 132 | txn: &T, |
| 133 | change_id: NodeId, |
| 134 | ) -> Result<VisitFrame, PristineError> { |
| 135 | if txn.get_external(change_id)?.is_none() { |
| 136 | return Err(PristineError::ChangeNotFound { |
| 137 | id: change_id.get(), |
| 138 | }); |
| 139 | } |
| 140 | Ok(VisitFrame { |
| 141 | change_id, |
| 142 | dependencies: txn.get_indexed_change_deps(change_id)?, |
| 143 | next_dependency: 0, |
| 144 | }) |
| 145 | } |
| 146 | |
| 147 | let mut colors = HashMap::new(); |
| 148 | let mut dependency_first = Vec::new(); |
nothing calls this directly
no test coverage detected