MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / get_info

Method get_info

crates/opencode-provider/src/provider.rs:327–329  ·  view source on GitHub ↗
(&self, id: &str)

Source from the content-addressed store, hash-verified

325 }
326
327 pub fn get_info(&self, id: &str) -> Option<&ProviderInfo> {
328 self.provider_info.get(id)
329 }
330
331 pub fn list(&self) -> Vec<Arc<dyn Provider>> {
332 self.providers.values().cloned().collect()

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected