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

Function is_outer_ssh_option_start

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

Source from the content-addressed store, hash-verified

301}
302
303fn is_outer_ssh_option_start(arg: &str) -> bool {
304 matches!(arg, "-N" | "-f" | "-o" | "-L" | "-T" | "-tt")
305 || arg.starts_with("-L")
306 || arg.starts_with("-o")
307 || arg.starts_with("-v")
308}
309
310fn parse_ssh_prefix_before_proxy(args: &[&str], proxy_index: usize) -> Option<bool> {
311 let mut current = 1;

Callers 1

find_proxy_command_matchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected