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

Function gateway_mtls_dir

crates/openshell-tui/src/lib.rs:597–606  ·  view source on GitHub ↗

Resolve the mTLS cert directory for a gateway.

(name: &str)

Source from the content-addressed store, hash-verified

595
596/// Resolve the mTLS cert directory for a gateway.
597fn gateway_mtls_dir(name: &str) -> Option<PathBuf> {
598 let config_dir = openshell_core::paths::xdg_config_dir().ok()?;
599 Some(
600 config_dir
601 .join("openshell")
602 .join("gateways")
603 .join(name)
604 .join("mtls"),
605 )
606}
607
608// ---------------------------------------------------------------------------
609// Sandbox actions

Callers 2

build_oidc_channelFunction · 0.85
build_mtls_channelFunction · 0.85

Calls 1

xdg_config_dirFunction · 0.50

Tested by

no test coverage detected