pub async fn perform_upgrade(
info: &UpgradeInfo,
current_binary: &Path,
rollback_dir: &Path,
) -> Result<UpgradeResult>Expand description
Legacy function for backward compatibility.
ยงErrors
Returns an error if the upgrade fails and rollback is not possible.