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

Function user_active_gateway_path

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

Path to the file that stores the active gateway name. Location: `$XDG_CONFIG_HOME/openshell/active_gateway`

()

Source from the content-addressed store, hash-verified

60///
61/// Location: `$XDG_CONFIG_HOME/openshell/active_gateway`
62pub fn user_active_gateway_path() -> Result<PathBuf> {
63 Ok(openshell_config_dir()?.join("active_gateway"))
64}
65
66/// Base directory for all gateway metadata files.
67///

Callers 3

save_active_gatewayFunction · 0.85
load_user_active_gatewayFunction · 0.85
clear_active_gatewayFunction · 0.85

Calls 1

openshell_config_dirFunction · 0.85

Tested by

no test coverage detected