Crinit::CacheStore
Manages content-addressed local caching for remote assets based on SHA-256 digests.
Constructors
from_config(config : Config) : CacheStore
SourceClass methods
Instance methods
cache_dir
SourceRetrieves the path to the cached asset, or nil if absent or corrupted.
Checks whether an asset with the given SHA-256 is present and uncorrupted in the cache.