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

Function user_gateways_dir

crates/openshell-bootstrap/src/paths.rs:69–71  ·  view source on GitHub ↗

Base directory for all gateway metadata files. Location: `$XDG_CONFIG_HOME/openshell/gateways/`

()

Source from the content-addressed store, hash-verified

67///
68/// Location: `$XDG_CONFIG_HOME/openshell/gateways/`
69pub fn user_gateways_dir() -> Result<PathBuf> {
70 Ok(openshell_config_dir()?.join("gateways"))
71}
72
73/// Read-only system-level `OpenShell` config root.
74///

Callers 2

user_gateway_dirFunction · 0.85

Calls 1

openshell_config_dirFunction · 0.85

Tested by

no test coverage detected