(args: &[&str], proxy_index: usize)
| 285 | } |
| 286 | |
| 287 | fn proxy_command_option_present(args: &[&str], proxy_index: usize) -> bool { |
| 288 | args.iter() |
| 289 | .take(proxy_index + 1) |
| 290 | .any(|arg| arg.starts_with("ProxyCommand=")) |
| 291 | } |
| 292 | |
| 293 | fn proxy_option_takes_value(arg: &str) -> bool { |
| 294 | matches!(arg, "--gateway" | "--token" | "--gateway-name") |
no outgoing calls
no test coverage detected