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

Method get_all_info

ci/util/build_info_analyzer.py:281–303  ·  view source on GitHub ↗

Get all available information for a board. Args: board_name: Name of the board Returns: AllInfoResult with ok, info, and error fields

(self, board_name: str)

Source from the content-addressed store, hash-verified

279 return ToolchainAliasesResult(ok=True, aliases=aliases, error="")
280
281 def get_all_info(self, board_name: str) -> AllInfoResult:
282 """
283 Get all available information for a board.
284
285 Args:
286 board_name: Name of the board
287
288 Returns:
289 AllInfoResult with ok, info, and error fields
290 """
291 data = self.load_build_info(board_name)
292 if not data:
293 return AllInfoResult(
294 ok=False, info={}, error=f"Build info not found for {board_name}"
295 )
296
297 board_key = self.create_board_key_from_build_info(data, board_name)
298 if not board_key:
299 return AllInfoResult(
300 ok=False, info={}, error="Board key not found in build_info.json"
301 )
302
303 return AllInfoResult(ok=True, info=data[board_key], error="")
304
305 def compare_defines(self, board1: str, board2: str) -> CompareDefinesResult:
306 """

Callers

nothing calls this directly

Calls 3

load_build_infoMethod · 0.95
AllInfoResultClass · 0.85

Tested by

no test coverage detected