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

Function is_under_config_excluded_test_dir

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

Source from the content-addressed store, hash-verified

2921}
2922
2923fn is_under_config_excluded_test_dir(path: &str) -> bool {
2924 let Some(project_rel) = project_relative_path(path) else {
2925 return false;
2926 };
2927 TEST_CONFIG_EXCLUDED_DIRS
2928 .iter()
2929 .any(|dir| project_rel == *dir || project_rel.strip_prefix(&format!("{dir}/")).is_some())
2930}
2931
2932fn top_level_headers(root_prefix: &str, dir: &str) -> HashSet<String> {
2933 let mut headers = HashSet::new();

Callers 1

should_process_fileMethod · 0.85

Calls 2

project_relative_pathFunction · 0.85
anyMethod · 0.65

Tested by

no test coverage detected