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

Method check_wasm

ci/util/fingerprint.py:245–253  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

243 return self.check("python_test", calculate_python_test_fingerprint)
244
245 def check_wasm(self) -> bool:
246 cwd = Path.cwd()
247 # Fast-path: if src/ and examples/ have no structural changes since last write,
248 # skip the expensive 500ms+ rglob + SHA-256 computation.
249 # WASM tests depend on src/ C++ files and examples/wasm/ source files.
250 # Limitation: in-place file content edits (no add/remove) are not detected.
251 if self._mtime_fast_path("wasm", cwd / "src", cwd / "examples"):
252 return False # no change detected via mtime fast-path
253 return self.check("wasm", calculate_wasm_fingerprint)
254
255 def check_all(self) -> bool:
256 cwd = Path.cwd()

Callers

nothing calls this directly

Calls 2

_mtime_fast_pathMethod · 0.95
checkMethod · 0.95

Tested by

no test coverage detected