(graph: &AliveGraph, order: &OrderResult)
| 96 | } |
| 97 | |
| 98 | fn validate_order_vertices(graph: &AliveGraph, order: &OrderResult) -> Result<(), PristineError> { |
| 99 | for scc in &order.sccs { |
| 100 | for &vertex_id in scc { |
| 101 | graph |
| 102 | .try_get_vertex(vertex_id) |
| 103 | .ok_or_else(|| missing_vertex("order", vertex_id))?; |
| 104 | } |
| 105 | } |
| 106 | Ok(()) |
| 107 | } |
| 108 | |
| 109 | fn lookup_hash<F>(hash_fn: &F, node_id: NodeId) -> OutputResult<Option<Hash>> |
| 110 | where |
no test coverage detected