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

Method refresh

crates/opencode-provider/src/models.rs:163–165  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

161 }
162
163 pub async fn refresh(&self) {
164 self.fetch().await;
165 }
166
167 pub async fn get_provider(&self, provider_id: &str) -> Option<ProviderInfo> {
168 let data = self.get().await;

Callers

nothing calls this directly

Calls 1

fetchMethod · 0.45

Tested by

no test coverage detected