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

Method list

crates/opencode-provider/src/bootstrap.rs:1523–1525  ·  view source on GitHub ↗

Return all providers.

(&self)

Source from the content-addressed store, hash-verified

1521
1522 /// Return all providers.
1523 pub fn list(&self) -> &HashMap<String, ProviderState> {
1524 &self.providers
1525 }
1526
1527 /// Get a provider by ID.
1528 pub fn get_provider(&self, provider_id: &str) -> Option<&ProviderState> {

Callers 1

bootstrap_registryFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected