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

Function resolve_gateway

crates/openshell-server/src/grpc/sandbox.rs:1453–1458  ·  view source on GitHub ↗
(config: &openshell_core::Config)

Source from the content-addressed store, hash-verified

1451// ---------------------------------------------------------------------------
1452
1453fn resolve_gateway(config: &openshell_core::Config) -> (String, u16) {
1454 (
1455 config.bind_address.ip().to_string(),
1456 config.bind_address.port(),
1457 )
1458}
1459
1460/// Shell-escape a value for embedding in a POSIX shell command.
1461///

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected