MCPcopy Create free account
hub / github.com/Moosync/Moosync / get_ext_version

Method get_ext_version

src-tauri/extensions/src/lib.rs:134–138  ·  view source on GitHub ↗
(&self, version: String)

Source from the content-addressed store, hash-verified

132
133 #[tracing::instrument(level = "debug", skip(self, version))]
134 fn get_ext_version(&self, version: String) -> Result<u64> {
135 Ok(u64::from_str(
136 &version.split('.').collect::<Vec<&str>>().join(""),
137 )?)
138 }
139
140 #[tracing::instrument(level = "debug", skip(self, ext_path))]
141 pub async fn install_extension(&self, ext_path: String) -> Result<()> {

Callers 1

install_extensionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected