Skip to main content

default_cache_dir

Function default_cache_dir 

Source
pub fn default_cache_dir(explicit: Option<&Path>) -> Result<Option<PathBuf>>
Expand description

The application cache directory, resolved independently of a scanned root.

An explicit destination and FDU_CACHE_DIR name this directory exactly. XDG_CACHE_HOME and platform locations are bases under which fdu lives. A relative path is anchored to the process’s current directory before I/O.