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

Function _scan_c0

ci/early_exit_cache.py:512–518  ·  view source on GitHub ↗
(idx: int, root: Path, exts: frozenset = CPP_EXTS)

Source from the content-addressed store, hash-verified

510 _scan_res_c0: list = [None, None, None, None] # [src, tests, ex, ci]
511
512 def _scan_c0(idx: int, root: Path, exts: frozenset = CPP_EXTS) -> None:
513 try:
514 _scan_res_c0[idx] = max_file_mtime(root, exts)
515 except KeyboardInterrupt:
516 _thread.interrupt_main()
517 except Exception:
518 _scan_res_c0[idx] = float("inf")
519
520 _threads_c0 = [
521 threading.Thread(target=_scan_c0, args=(0, Path("src")), daemon=True),

Callers

nothing calls this directly

Calls 1

max_file_mtimeFunction · 0.85

Tested by

no test coverage detected