Expand description
Content-addressable lint cache.
Each contract’s lint result is cached using a hash of (YAML content +
rule config). Cache is stored in .pv/cache/lint/. Automatically
invalidated when any input changes.
Spec: docs/specifications/sub/lint.md Section 10
Structs§
- Cache
Entry - Cache entry for one contract’s lint results.
- Cache
Stats - Cache statistics.
Functions§
- cache_
clear - Clear all cached results.
- cache_
dir - Get the cache directory path.
- cache_
get - Look up a cached result.
- cache_
put - Store a lint result in the cache.
- content_
hash - Compute a content hash for cache key.