(name: &str)
| 174 | |
| 175 | #[cfg(windows)] |
| 176 | fn remove_registry(name: &str) -> Result<(), SshdConfigError> { |
| 177 | let registry_helper = RegistryHelper::new(REGISTRY_PATH, Some(name.to_string()), None)?; |
| 178 | registry_helper.remove()?; |
| 179 | Ok(()) |
| 180 | } |
| 181 | |
| 182 | fn set_sshd_config(cmd_info: &mut CommandInfo) -> Result<(), SshdConfigError> { |
| 183 | // this should be its own helper function that checks that the value makes sense for the key type |
no test coverage detected