(ref_name: &str, unprotected: &[String])
| 172 | } |
| 173 | |
| 174 | fn is_unprotected(ref_name: &str, unprotected: &[String]) -> bool { |
| 175 | unprotected |
| 176 | .iter() |
| 177 | .any(|prefix| ref_name.starts_with(prefix.as_str())) |
| 178 | } |
| 179 | |
| 180 | /// Verify one ref update: resolve the projection state at the new tip, |
| 181 | /// compute the view's change delta, and run the trusted provenance gate. |
no test coverage detected