MCPcopy 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

wipeMethod · 0.45
send_streamingMethod · 0.45
send_streamingMethod · 0.45
finishMethod · 0.45
update_cacheMethod · 0.45
clear_runtime_actionsMethod · 0.45
spawn_with_timeoutMethod · 0.45
test_clearFunction · 0.45

Calls 1

writeMethod · 0.80

Tested by 1

test_clearFunction · 0.36