MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / run_upgrade_command

Function run_upgrade_command

src/update_cmd.rs:204–213  ·  view source on GitHub ↗
(
    no_heal: bool,
    no_reinstall: bool,
)

Source from the content-addressed store, hash-verified

202}
203
204pub(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.

Callers 1

dispatch_commandFunction · 0.85

Calls 2

run_install_then_refreshFunction · 0.85

Tested by

no test coverage detected