(p: Option<&Path>, target: &Path)
| 229 | } |
| 230 | |
| 231 | fn path_matches(p: Option<&Path>, target: &Path) -> bool { |
| 232 | let Some(p) = p else { return false }; |
| 233 | p == target || p.starts_with(target) |
| 234 | } |
| 235 | |
| 236 | fn tree_contains_path(tree: &git2::Tree, target: &Path) -> Result<bool> { |
| 237 | let mut found = false; |
no outgoing calls
no test coverage detected
searching dependent graphs…