Skip to main content

change_in

Function change_in 

Source
fn change_in(
    config_home: &Path,
    connection: &str,
    helper: bool,
    edit: impl FnOnce(&mut HostInfo),
) -> Result<()>
Expand description

Change connection’s record (and, with helper, mark the helper as there), writing only when something changed.