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

Function default_gateway_config_path

crates/openshell-server/src/defaults.rs:63–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61}
62
63pub fn default_gateway_config_path() -> Result<PathBuf> {
64 Ok(openshell_core::paths::openshell_config_dir()?.join("gateway.toml"))
65}
66
67pub fn default_database_url() -> Result<String> {
68 let path = openshell_core::paths::openshell_state_dir()?

Callers 1

resolve_config_pathFunction · 0.85

Calls 1

openshell_config_dirFunction · 0.85

Tested by

no test coverage detected