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

Function proxy_option_has_inline_value

crates/openshell-core/src/forward.rs:297–301  ·  view source on GitHub ↗
(arg: &str)

Source from the content-addressed store, hash-verified

295}
296
297fn proxy_option_has_inline_value(arg: &str) -> bool {
298 ["--gateway=", "--token=", "--gateway-name="]
299 .iter()
300 .any(|prefix| arg.starts_with(prefix))
301}
302
303fn is_outer_ssh_option_start(arg: &str) -> bool {
304 matches!(arg, "-N" | "-f" | "-o" | "-L" | "-T" | "-tt")

Callers 1

find_proxy_command_matchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected