(
no_heal: bool,
no_reinstall: bool,
)
| 202 | } |
| 203 | |
| 204 | pub(crate) fn run_upgrade_command( |
| 205 | no_heal: bool, |
| 206 | no_reinstall: bool, |
| 207 | ) -> tracedecay::errors::Result<()> { |
| 208 | run_install_then_refresh( |
| 209 | RefreshPolicy::AfterInstall, |
| 210 | tracedecay::upgrade::run_upgrade, |
| 211 | |binary| run_post_update_subcommand(no_heal, no_reinstall, binary), |
| 212 | ) |
| 213 | } |
| 214 | |
| 215 | /// The binary to re-exec for `post-update`: the freshly installed one when |
| 216 | /// the upgrade reported where it landed, otherwise the usual resolution. |
no test coverage detected