Skip to main content

cache_dir

Function cache_dir 

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

Returns the cache directory.

  • Linux: ~/.cache/aptu
  • macOS: ~/Library/Caches/aptu
  • Windows: C:\Users\<User>\AppData\Local\aptu

Returns None if the cache directory cannot be determined.