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

Function plaintext_gateway_is_remote

crates/openshell-cli/src/run.rs:783–791  ·  view source on GitHub ↗
(endpoint: &str, remote: Option<&str>, local: bool)

Source from the content-addressed store, hash-verified

781}
782
783fn plaintext_gateway_is_remote(endpoint: &str, remote: Option<&str>, local: bool) -> bool {
784 if local {
785 return false;
786 }
787 if remote.is_some() {
788 return true;
789 }
790 !is_loopback_gateway_endpoint(endpoint)
791}
792
793fn plaintext_gateway_metadata(
794 name: &str,

Callers 1

Calls 1

Tested by

no test coverage detected