Recompute the reference for `pins` and compare it to `reference`. True iff the pins hash to exactly this reference (order-insensitive for candidate changes).
(pins: &TriagePins, reference: &str)
| 55 | /// Recompute the reference for `pins` and compare it to `reference`. True iff the |
| 56 | /// pins hash to exactly this reference (order-insensitive for candidate changes). |
| 57 | pub fn verify_triage_reference(pins: &TriagePins, reference: &str) -> bool { |
| 58 | triage_reference(pins) == reference |
| 59 | } |
| 60 | |
| 61 | #[cfg(test)] |
| 62 | mod tests { |
nothing calls this directly
no test coverage detected