MCPcopy Create free account
hub / github.com/OpenKeyring/oak-keyring / config_dir

Function config_dir

src/paths.rs:34–39  ·  view source on GitHub ↗

Returns the XDG config directory for oak-keyring. Follows `$XDG_CONFIG_HOME` environment variable with fallback to `~/.config/oak-keyring/`. Returns `None` if home directory cannot be determined. # Examples ```rust use oak_keyring::paths::config_dir; if let Some(config) = config_dir() { println!("Config directory: {:?}", config); } ```

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

mainFunction · 0.85
config_file_pathFunction · 0.85
tokens_dirFunction · 0.85
ensure_dirsFunction · 0.85

Calls 1

config_dir_fromFunction · 0.85

Tested by

no test coverage detected