pub fn resolve_cache_dir() -> PathBufExpand description
Resolve the conventional Hugging Face Hub cache directory.
Environment variables are checked in this order: HF_HUB_CACHE,
HUGGINGFACE_HUB_CACHE, HF_HOME, XDG_CACHE_HOME, HOME, and
USERPROFILE. If none are set, the platform temporary directory is used.