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

Function _check_build

ci/util/tools.py:61–66  ·  view source on GitHub ↗
(build: Path)

Source from the content-addressed store, hash-verified

59
60
61def _check_build(build: Path) -> bool:
62 # 1. should contain a build_info.json file
63 # 2. should contain a .pio/build directory
64 has_build_info = (build / "build_info.json").exists()
65 has_pio_build = (build / ".pio" / "build").exists()
66 return has_build_info and has_pio_build
67
68
69def _prompt_build() -> Path:

Callers 2

_prompt_buildFunction · 0.70
cliFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected