Skip to main content

Crate sui_cache_eval

Crate sui_cache_eval 

Source
Expand description

Content-addressed evaluation cache.

Caches forced Nix expression results by hashing the source content and (optionally) the flake lock. Lookup is O(1) via HashMap. Persistence is best-effort JSON to ~/.cache/sui/eval-cache.json.

Structs§

CacheKey
A cache key combining source hash and optional lock hash.
CachedValue
A cached evaluation result.
EvalCache
Content-addressed evaluation cache.

Enums§

CacheError
Errors that can occur during cache operations.