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

Method extension_updated

src-tauri/src/extensions/request_handler.rs:221–227  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

219
220 #[tracing::instrument(level = "debug", skip(self))]
221 pub async fn extension_updated(&self) -> Result<MainCommandResponse> {
222 tracing::debug!("Got extension updated");
223 let provider_handle: State<ProviderHandler> = self.app_handle.state();
224 provider_handle.discover_provider_extensions().await?;
225 tracing::debug!("Updated extension");
226 Ok(MainCommandResponse::ExtensionsUpdated(true))
227 }
228
229 #[tracing::instrument(level = "debug", skip(self))]
230 pub async fn handle_request(&self, command: MainCommand) -> Result<MainCommandResponse> {

Callers 1

handle_requestMethod · 0.80

Calls 1

Tested by

no test coverage detected