Skip to main content

perform_upgrade

Function perform_upgrade 

Source
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.