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

Function _get_project_root

ci/compiler/build_config.py:23–30  ·  view source on GitHub ↗

Get the cached project root.

()

Source from the content-addressed store, hash-verified

21
22
23def _get_project_root() -> Path:
24 """Get the cached project root."""
25 global _PROJECT_ROOT
26 if _PROJECT_ROOT is None:
27 from ci.compiler.path_manager import resolve_project_root
28
29 _PROJECT_ROOT = resolve_project_root()
30 return _PROJECT_ROOT
31
32
33def get_root_platformio_build_flags(board_name: str, project_root: Path) -> list[str]:

Callers 1

Calls 1

resolve_project_rootFunction · 0.90

Tested by

no test coverage detected