MCPcopy Create free account
hub / github.com/Botloader/botloader / get_plugin

Method get_plugin

components/stores/src/config.rs:1034–1036  ·  view source on GitHub ↗
(&self, plugin_id: u64)

Source from the content-addressed store, hash-verified

1032 }
1033
1034 pub async fn get_plugin(&self, plugin_id: u64) -> ConfigStoreResult<Plugin> {
1035 Self::inner_get_plugin(&mut *self.pool.acquire().await?, plugin_id).await
1036 }
1037
1038 pub async fn get_plugins(&self, plugin_ids: &[u64]) -> ConfigStoreResult<Vec<Plugin>> {
1039 let ids = plugin_ids.iter().map(|v| *v as i64).collect::<Vec<_>>();

Callers 1

fetch_pluginFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected