Skip to main content

ensure_with

Function ensure_with 

Source
pub(crate) fn ensure_with(
    broker: &Broker,
    name: &str,
    wsl_installed: &[String],
    on_windows: bool,
    ssh_found: bool,
) -> Result<(), String>
Expand description

ensure with the installed distros, the platform and whether ssh was found given, so it is testable anywhere.