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

Method list_available_boards

ci/util/build_info_analyzer.py:101–116  ·  view source on GitHub ↗

List all boards that have build_info.json files. Returns: List of board names that have been built

(self)

Source from the content-addressed store, hash-verified

99 self.build_dir = Path(build_dir)
100
101 def list_available_boards(self) -> list[str]:
102 """
103 List all boards that have build_info.json files.
104
105 Returns:
106 List of board names that have been built
107 """
108 boards: list[str] = []
109 if not self.build_dir.exists():
110 return boards
111
112 for item in self.build_dir.iterdir():
113 if item.is_dir() and (item / "build_info.json").exists():
114 boards.append(item.name)
115
116 return sorted(boards)
117
118 def get_build_info_path(self, board_name: str) -> Optional[Path]:
119 """

Callers 2

build_info_analysisFunction · 0.95
mainFunction · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected