Skip to main content Module cache Copy item path Source CacheEntry What one scanned file leaves in the cache: its findings plus the symbols it
contributes to the project index, so a cache hit feeds the cross-file pass
without re-parsing the file. CacheStore A file-based cache store for scan findings. CacheError ensure_gitignored_dir Create dir (and parents) if missing and drop a .gitignore that ignores
the entire cache directory. Idempotent. file_content_hash Compute the SHA256 hash of a file’s content. rules_hash Compute a stable hash of the active rules by sorting them by id and hashing
each rule’s serialized body along with the scanner’s own version. sha256_hex Hex-encoded SHA256 of data. Shared by every cache key in the workspace.