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

Function is_relative_include_path

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

Source from the content-addressed store, hash-verified

2451}
2452
2453fn is_relative_include_path(include_path: &str) -> bool {
2454 include_path.starts_with("./") || include_path.starts_with("../")
2455}
2456
2457fn header_exists_for_file(file_path: &str, include_path: &str) -> bool {
2458 if is_relative_include_path(include_path) || is_external_sdk_header(include_path) {

Callers 2

header_exists_for_fileFunction · 0.85
check_file_contentMethod · 0.85

Calls 1

starts_withMethod · 0.45

Tested by

no test coverage detected