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

Function load_build_info

ci/inspect_binary.py:92–104  ·  view source on GitHub ↗

Load build information from a JSON file. Args: build_info_path (Path): Path to the build_info.json file. Returns: dict: Parsed JSON data.

(build_info_path: Path)

Source from the content-addressed store, hash-verified

90
91
92def load_build_info(build_info_path: Path) -> dict[str, Any]:
93 """
94 Load build information from a JSON file.
95
96 Args:
97 build_info_path (Path): Path to the build_info.json file.
98
99 Returns:
100 dict: Parsed JSON data.
101 """
102 if not build_info_path.exists():
103 raise FileNotFoundError(f"Build info JSON not found at '{build_info_path}'")
104 return json.loads(build_info_path.read_text())
105
106
107def display_function_sizes(

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected