Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
94
impl Default for McpToolRegistry {
Callers
5
stop
Method · 0.45
consume_remote_sse
Function · 0.45
import_session_data
Function · 0.45
clear_custom_fetch_proxies
Function · 0.45
receive
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected