Skip to main content

state_dir

Function state_dir 

Source
pub fn state_dir(root: &Path) -> PathBuf
Expand description

The per-root state directory, created on demand.

$RGX_CACHE_DIR overrides the base and is used verbatim; otherwise the config file’s cache_dir, then $XDG_CACHE_HOME/rgx, then ~/.cache/rgx, then a temp dir.