MCPcopy Create free account
hub / github.com/FastLED/FastLED / is_cpp_like_path

Function is_cpp_like_path

ci/lint_cpp_rs/src/lib.rs:1759–1763  ·  view source on GitHub ↗
(path: &str)

Source from the content-addressed store, hash-verified

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

Callers 2

collect_pathFunction · 0.85
collect_directory_filesFunction · 0.85

Calls 2

anyMethod · 0.65
ends_withMethod · 0.45

Tested by

no test coverage detected