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

Method get

crates/opencode-mcp/src/oauth.rs:390–392  ·  view source on GitHub ↗
(&self, mcp_name: &str)

Source from the content-addressed store, hash-verified

388 }
389
390 pub async fn get(&self, mcp_name: &str) -> Option<Arc<McpOAuthManager>> {
391 self.managers.read().await.get(mcp_name).cloned()
392 }
393
394 pub async fn remove(&self, mcp_name: &str) {
395 self.managers.write().await.remove(mcp_name);

Callers

nothing calls this directly

Calls 1

readMethod · 0.80

Tested by

no test coverage detected