pub fn staged(
req: &UpgradeRequest,
own_dir: &Path,
data_dir: &Path,
channel_dir: &Path,
own_version: &str,
) -> Result<Staged, String>Expand description
What to restart into, if req names a newer release than own_version
that fits this install (in own_dir, with its data in data_dir and its
channel in channel_dir): a portable of exactly that version beside a
portable (or, on Linux, where srv unpacked it, upgrade_linux), or that version’s
installer in this version’s own updates/<v>/ on a setup.exe install.