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

Function _link_cache_key

ci/wasm_build.py:1259–1263  ·  view source on GitHub ↗

Hash library archive mtime+size to detect when the engine changed.

(library_archive: Path)

Source from the content-addressed store, hash-verified

1257
1258
1259def _link_cache_key(library_archive: Path) -> str:
1260 """Hash library archive mtime+size to detect when the engine changed."""
1261 st = library_archive.stat()
1262 content = f"{st.st_mtime}:{st.st_size}".encode()
1263 return hashlib.sha256(content).hexdigest()[:16]
1264
1265
1266def _intercept_emcc_link(

Callers 2

_intercept_emcc_linkFunction · 0.85
_fast_linkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected