Function xdg_basedir::dirs::get_cache_home [] [src]

pub fn get_cache_home() -> Result<PathBuf>

Get the cache home directory.

If $XDG_CACHE_HOME is not set, it returns $HOME/.cache.