MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / openshell_config_dir

Function openshell_config_dir

crates/openshell-core/src/paths.rs:30–32  ·  view source on GitHub ↗

The top-level `OpenShell` config directory: `$XDG_CONFIG_HOME/openshell/`.

()

Source from the content-addressed store, hash-verified

28
29/// The top-level `OpenShell` config directory: `$XDG_CONFIG_HOME/openshell/`.
30pub fn openshell_config_dir() -> Result<PathBuf> {
31 Ok(xdg_config_dir()?.join("openshell"))
32}
33
34/// Resolve the XDG state base directory.
35///

Callers 4

user_active_gateway_pathFunction · 0.85
user_gateways_dirFunction · 0.85

Calls 1

xdg_config_dirFunction · 0.70

Tested by 1