Skip to main content

cache_root

Function cache_root 

Source
pub fn cache_root() -> Result<PathBuf, PathError>
Expand description

<cache>/dejavu — the root under which every repo gets a <repo_hash> dir. macOS: ~/Library/Caches/dejavu. Linux/WSL: $XDG_CACHE_HOME/dejavu then ~/.cache/dejavu. dirs::cache_dir() already encodes this platform matrix.