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

Function _fastled_js_is_parent_directory

ci/compiler/compile_for_board.py:32–35  ·  view source on GitHub ↗

Check if fastled_js is a parent directory of the given path.

(p: Path)

Source from the content-addressed store, hash-verified

30
31
32def _fastled_js_is_parent_directory(p: Path) -> bool:
33 """Check if fastled_js is a parent directory of the given path."""
34 # Check if fastled_js is a parent directory of p
35 return "fastled_js" in str(p.absolute())
36
37
38def compile_for_board_and_example(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected