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

Function pio_packages_dir

ci/bloat.py:85–94  ·  view source on GitHub ↗

User-scoped PIO packages dir; works on Windows / Linux / macOS.

()

Source from the content-addressed store, hash-verified

83
84
85def pio_packages_dir() -> Path:
86 """User-scoped PIO packages dir; works on Windows / Linux / macOS."""
87 home = Path.home()
88 candidate = home / ".platformio" / "packages"
89 if candidate.is_dir():
90 return candidate
91 raise SystemExit(
92 f"PlatformIO packages dir not found at {candidate}. "
93 "Run a PIO build first (`bash compile <board> --examples Blink`)."
94 )
95
96
97def resolve_nm(board: str) -> Path:

Callers 1

resolve_nmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected