Skip to main content

global_dir

Function global_dir 

Source
pub fn global_dir() -> Result<PathBuf, PathError>
Expand description

Returns the global registry-cache directory: ~/.local/share/ xianyun/registry/, unless that doesn’t exist yet AND ~/.local/ share/caproni/registry/ (the pre-rename path) does, in which case the existing caproni-path directory is used instead of starting a fresh, empty one and orphaning the existing cache state.