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

Function is_relative_path

ci/lint_cpp/include_paths_checker.py:289–291  ·  view source on GitHub ↗

Check if the path is a relative path (starts with ./ or ../).

(include_path: str)

Source from the content-addressed store, hash-verified

287
288
289def is_relative_path(include_path: str) -> bool:
290 """Check if the path is a relative path (starts with ./ or ../)."""
291 return include_path.startswith("./") or include_path.startswith("../")
292
293
294def header_exists(include_path: str) -> bool:

Callers 3

header_existsFunction · 0.85
check_file_contentMethod · 0.85
apply_fixesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected