MCPcopy Create free account
hub / github.com/VSCodeConfigHelper/v4 / correct_version

Function correct_version

src-tauri/src/cli/mod.rs:38–46  ·  view source on GitHub ↗
(v: &str)

Source from the content-addressed store, hash-verified

36 use crate::utils::winreg;
37
38 fn correct_version(v: &str) -> bool {
39 if v == "" {
40 return false;
41 }
42 if let Ok(cmp) = version_compare::compare(v, "104.0.0.0") {
43 return cmp != version_compare::Cmp::Lt;
44 }
45 return false;
46 }
47
48 if let Some(v) = winreg::get(
49 winreg::HKEY_LOCAL_MACHINE,

Callers 1

has_webview2_installedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected