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

Function is_top_level_include

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

Source from the content-addressed store, hash-verified

2375}
2376
2377fn is_top_level_include(include_path: &str) -> bool {
2378 !include_path.contains('/') && !include_path.contains('\\')
2379}
2380
2381fn include_path_looks_like_fastled_code(include_path: &str) -> bool {
2382 if include_path.ends_with(".hpp") || include_path.ends_with(".cpp") {

Callers 1

is_valid_include_pathFunction · 0.70

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected