(path: &str)
| 1757 | } |
| 1758 | |
| 1759 | fn is_cpp_like_path(path: &str) -> bool { |
| 1760 | CPP_EXTENSIONS |
| 1761 | .iter() |
| 1762 | .any(|extension| path.ends_with(&format!(".{extension}"))) |
| 1763 | } |
| 1764 | |
| 1765 | fn normalize_path(path: &str) -> String { |
| 1766 | let normalized = path.replace('\\', "/"); |
no test coverage detected