Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AI45Lab/Code
/ clear
Method
clear
core/src/skills/registry.rs:226–229 ·
view source on GitHub ↗
Clear all skills
(&self)
Source
from the content-addressed store, hash-verified
224
225
/// Clear all skills
226
pub fn clear(&self) {
227
let mut skills = self.skills.write().unwrap();
228
skills.clear();
229
}
230
231
/// Get the number of registered skills
232
pub fn len(&self) -> usize {
Callers
8
wipe
Method · 0.45
send_streaming
Method · 0.45
send_streaming
Method · 0.45
finish
Method · 0.45
update_cache
Method · 0.45
clear_runtime_actions
Method · 0.45
spawn_with_timeout
Method · 0.45
test_clear
Function · 0.45
Calls
1
write
Method · 0.80
Tested by
1
test_clear
Function · 0.36