Skip to main contentModule cache
Source - 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 their ids and hashing
the concatenated id list together with each rule’s YAML-serialized body.
- sha256_hex
- Hex-encoded SHA256 of
data. Shared by every cache key in the workspace.