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

Function _compile_cache_key

ci/wasm_build.py:1005–1007  ·  view source on GitHub ↗

Hash the emcc args to detect when flags change and cache needs refresh.

(emcc_args: list[str])

Source from the content-addressed store, hash-verified

1003
1004
1005def _compile_cache_key(emcc_args: list[str]) -> str:
1006 """Hash the emcc args to detect when flags change and cache needs refresh."""
1007 return hashlib.sha256(json.dumps(emcc_args).encode()).hexdigest()[:16]
1008
1009
1010def _fast_compile(

Callers 2

_fast_compileFunction · 0.85
_intercept_emcc_compileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected