MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / check_firedbg_version_updated

Function check_firedbg_version_updated

command/src/main.rs:634–648  ·  view source on GitHub ↗
(workspace: &Workspace)

Source from the content-addressed store, hash-verified

632}
633
634async fn check_firedbg_version_updated(workspace: &Workspace) -> Result<()> {
635 let current_version = current_firedbg_version();
636 let workspace_version = workspace_firedbg_version(workspace)?;
637 match workspace_version {
638 Some(workspace_version) if workspace_version != current_version => {
639 console::status("Upgrading", "FireDBG version");
640 re_create_firedbg_folder(workspace).await?;
641 }
642 None => {
643 re_create_firedbg_folder(workspace).await?;
644 }
645 _ => (),
646 }
647 Ok(())
648}
649
650async fn run_binary(
651 workspace: &Workspace,

Callers 1

mainFunction · 0.85

Calls 4

current_firedbg_versionFunction · 0.85
statusFunction · 0.85
re_create_firedbg_folderFunction · 0.85

Tested by

no test coverage detected