MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / clear

Method clear

crates/opencode-mcp/src/tool.rs:88–91  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

86 }
87
88 pub async fn clear(&self) {
89 let mut tools = self.tools.write().await;
90 tools.clear();
91 }
92}
93
94impl Default for McpToolRegistry {

Callers 5

stopMethod · 0.45
consume_remote_sseFunction · 0.45
import_session_dataFunction · 0.45
receiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected