Skip to main content

get_default_cache_dir

Function get_default_cache_dir 

Source
pub fn get_default_cache_dir() -> PathBuf
Expand description

Returns the default cache directory for the current platform.

  • Windows: %LOCALAPPDATA% or <home>/AppData/Local
  • Unix: $XDG_CACHE_HOME or <home>/.cache