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

Method should_process_file

ci/lint_cpp_rs/src/lib.rs:3490–3493  ·  view source on GitHub ↗
(&self, file_path: &str, _project_root: &Path)

Source from the content-addressed store, hash-verified

3488 }
3489
3490 fn should_process_file(&self, file_path: &str, _project_root: &Path) -> bool {
3491 is_under_dir(file_path, "examples")
3492 && ends_with_any(file_path, &[".cpp", ".h", ".hpp", ".ino"])
3493 }
3494
3495 fn check_file_content(&self, file_content: &FileContent) -> Vec<(usize, String)> {
3496 let mut violations = Vec::new();

Callers 1

Calls 15

is_under_dirFunction · 0.85
ends_with_anyFunction · 0.85
is_under_project_subpathFunction · 0.85
is_std_bridge_fileFunction · 0.85
tests_relative_pathFunction · 0.85
project_relative_pathFunction · 0.85
scope_matchesMethod · 0.80
is_excluded_fileFunction · 0.70
normalize_pathFunction · 0.70
anyMethod · 0.65
ends_withMethod · 0.45

Tested by

no test coverage detected