MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / get

Method get

crates/openshell-providers/src/lib.rs:135–137  ·  view source on GitHub ↗
(&self, id: &str)

Source from the content-addressed store, hash-verified

133
134 #[must_use]
135 pub fn get(&self, id: &str) -> Option<&dyn ProviderPlugin> {
136 self.plugins.get(id).map(Box::as_ref)
137 }
138
139 pub fn discover_existing(&self, id: &str) -> Result<Option<DiscoveredProvider>, ProviderError> {
140 let Some(plugin) = self.get(id) else {

Callers 15

_rate_limitFunction · 0.45
lookup_cargoFunction · 0.45
lookup_npmFunction · 0.45
lookup_pypiFunction · 0.45
resolve_componentFunction · 0.45
needs_fixFunction · 0.45
_classify_registryFunction · 0.45
mainFunction · 0.45
extract_licensesFunction · 0.45
sbom_to_csvFunction · 0.45
get_rust_noticesFunction · 0.45
get_python_noticesFunction · 0.45

Calls

no outgoing calls