Skip to main content

upgrade_line

Function upgrade_line 

Source
pub fn upgrade_line(
    version: &str,
    target: &UpgradeTarget,
    confirmed: bool,
) -> String
Expand description

The path goes last: it can hold spaces. confirmed adds confirmed:1 after the version: the restart is already decided, so the launcher asks nothing more (UpgradeRequest::confirmed).