Expand description
ZSTD dictionary auto-fetch and caching.
Supports loading a dictionary from a local file path or an HTTP(S) URL.
URL-sourced dictionaries are cached under ~/.cache/atrg/ keyed by a
SHA-256 hash of the URL so that restarts don’t re-download.
Functions§
- cache_
path_ for_ url - Compute the cache file path for a URL.
- load_
dictionary - Load a ZSTD dictionary from a local path or URL.