Skip to main content

Module zstd_dict

Module zstd_dict 

Source
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.