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

Function _should_skip_dir

ci/early_exit_cache.py:63–67  ·  view source on GitHub ↗

Check if directory should be skipped from traversal.

(name: str)

Source from the content-addressed store, hash-verified

61 """
62
63 def _should_skip_dir(name: str) -> bool:
64 """Check if directory should be skipped from traversal."""
65 return name in SKIP_DIR_NAMES or any(
66 name.startswith(pfx) for pfx in SKIP_DIR_PREFIXES
67 )
68
69 max_mtime = 0.0
70 stack = [str(root)]

Callers 1

max_file_mtimeFunction · 0.85

Calls 1

anyFunction · 0.85

Tested by

no test coverage detected