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

Function is_external_sdk_header

ci/lint_cpp_rs/src/lib.rs:2401–2416  ·  view source on GitHub ↗
(include_path: &str)

Source from the content-addressed store, hash-verified

2399}
2400
2401fn is_external_sdk_header(include_path: &str) -> bool {
2402 if EXTERNAL_SDK_PREFIXES
2403 .iter()
2404 .any(|prefix| include_path.starts_with(prefix))
2405 {
2406 return true;
2407 }
2408
2409 for prefix in AMBIGUOUS_INCLUDE_PREFIXES {
2410 if include_path.starts_with(prefix) {
2411 return !include_path_looks_like_fastled_code(include_path);
2412 }
2413 }
2414
2415 false
2416}
2417
2418fn is_fastled_platform_relative(include_path: &str) -> bool {
2419 if FASTLED_PLATFORM_SUBDIRS

Callers 2

is_valid_include_pathFunction · 0.70
header_exists_for_fileFunction · 0.70

Calls 3

anyMethod · 0.65
starts_withMethod · 0.45

Tested by

no test coverage detected