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

Function run_update_command

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

Source from the content-addressed store, hash-verified

191}
192
193pub(crate) fn run_update_command(
194 no_heal: bool,
195 no_reinstall: bool,
196) -> tracedecay::errors::Result<()> {
197 run_install_then_refresh(
198 RefreshPolicy::Always,
199 tracedecay::upgrade::run_upgrade,
200 |binary| run_post_update_subcommand(no_heal, no_reinstall, binary),
201 )
202}
203
204pub(crate) fn run_upgrade_command(
205 no_heal: bool,

Callers 1

dispatch_commandFunction · 0.85

Calls 2

run_install_then_refreshFunction · 0.85

Tested by

no test coverage detected