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)
| 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 | """ |
nothing calls this directly
no test coverage detected