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

Method __init__

ci/fingerprint/core.py:66–76  ·  view source on GitHub ↗

Initialize fingerprint cache. Args: cache_file: Path to JSON cache file modtime_only: When True, disable hashing and rely solely on modtime.

(self, cache_file: Path, modtime_only: bool = False)

Source from the content-addressed store, hash-verified

64 """
65
66 def __init__(self, cache_file: Path, modtime_only: bool = False):
67 """
68 Initialize fingerprint cache.
69
70 Args:
71 cache_file: Path to JSON cache file
72 modtime_only: When True, disable hashing and rely solely on modtime.
73 """
74 self.cache_file = cache_file
75 self._modtime_only: bool = modtime_only
76 self.cache = self._load_cache()
77
78 def _load_cache(self) -> dict[str, CacheEntry]:
79 """

Callers

nothing calls this directly

Calls 1

_load_cacheMethod · 0.95

Tested by

no test coverage detected