Skip to main content

credential_path

Function credential_path 

Source
pub fn credential_path(home: &Path) -> PathBuf
Expand description

Resolve Lucy’s credential path without assuming that either XDG variable is set.

Data storage wins when both XDG locations are available. The config location is retained as a fallback so installations that deliberately keep all Lucy state under XDG_CONFIG_HOME remain supported.