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

Function _check_build

ci/inspect_obj.py:20–25  ·  view source on GitHub ↗
(build: Path)

Source from the content-addressed store, hash-verified

18
19
20def _check_build(build: Path) -> bool:
21 # 1. should contain a build_info.json file
22 # 2. should contain a .pio/build directory
23 has_build_info = (build / "build_info.json").exists()
24 has_pio_build = (build / ".pio" / "build").exists()
25 return has_build_info and has_pio_build
26
27
28def _prompt_build() -> Path:

Callers 2

_prompt_buildFunction · 0.70
cliFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected