Skip to main content

default_root

Function default_root 

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

Locate the linesmith cache root. Returns None in environments that provide neither $XDG_CACHE_HOME nor $HOME. Delegates to xdg::resolve_subdir; the from_process_env factory uses var_os so non-UTF-8 paths (Unix byte-string paths) survive through to the cache reader.