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

Method __init__

ci/compiler/path_manager.py:22–30  ·  view source on GitHub ↗
(self, board_name: str, project_root: Optional[Path] = None)

Source from the content-addressed store, hash-verified

20 """Centralized path management for FastLED board-specific directories and files."""
21
22 def __init__(self, board_name: str, project_root: Optional[Path] = None) -> None:
23 self.board_name = board_name
24 self.project_root = project_root or resolve_project_root()
25 self.home_dir = Path.home()
26
27 # Base FastLED directory
28 self.fastled_root = self.home_dir / ".fastled"
29 # Initialize the optional cache directory override
30 self._global_platformio_cache_dir: Optional[Path] = None
31
32 @property
33 def build_dir(self) -> Path:

Callers

nothing calls this directly

Calls 1

resolve_project_rootFunction · 0.85

Tested by

no test coverage detected