(include_path: &str)
| 2399 | } |
| 2400 | |
| 2401 | fn 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 | |
| 2418 | fn is_fastled_platform_relative(include_path: &str) -> bool { |
| 2419 | if FASTLED_PLATFORM_SUBDIRS |
no test coverage detected