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

Function read_total_flash

tests/measure_esp32s3_opt_ins.py:303–307  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

301
302
303def read_total_flash() -> int | None:
304 if not REPORT_JSON.is_file():
305 return None
306 data = json.loads(REPORT_JSON.read_text(encoding="utf-8"))
307 return int(data["total_flash"])
308
309
310def archive_report(cfg: OptInConfig) -> Path:

Callers 1

measure_oneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected