pub fn credential_path(home: &Path) -> PathBufExpand 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.