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

Function _get_source_mtime

ci/esbuild_frontend.py:101–108  ·  view source on GitHub ↗
(source_dir: Path)

Source from the content-addressed store, hash-verified

99
100
101def _get_source_mtime(source_dir: Path) -> float:
102 max_mtime = 0.0
103 for path in source_dir.rglob("*"):
104 if "dist" in path.parts:
105 continue
106 if path.is_file():
107 max_mtime = max(max_mtime, path.stat().st_mtime)
108 return max_mtime
109
110
111def _compute_dir_hash(directory: Path) -> str:

Callers 1

build_distFunction · 0.85

Calls 1

maxFunction · 0.85

Tested by

no test coverage detected