Skip to main content

cache_dir

Function cache_dir 

Source
pub fn cache_dir() -> Option<PathBuf>
Expand description

Returns the cache directory for socorro-cli, creating it if necessary. Uses the OS-standard cache directory:

  • Linux: ~/.cache/socorro-cli/
  • macOS: ~/Library/Caches/socorro-cli/
  • Windows: %LOCALAPPDATA%/socorro-cli/cache/