MCPcopy Create free account
hub / github.com/AI45Lab/Code / remove

Method remove

core/src/skills/registry.rs:220–223  ·  view source on GitHub ↗

Remove a skill by name

(&self, name: &str)

Source from the content-addressed store, hash-verified

218
219 /// Remove a skill by name
220 pub fn remove(&self, name: &str) -> Option<Arc<Skill>> {
221 let mut skills = self.skills.write().unwrap();
222 skills.remove(name)
223 }
224
225 /// Clear all skills
226 pub fn clear(&self) {

Callers 15

register_and_waitMethod · 0.80
unregisterMethod · 0.80
unregisterMethod · 0.80
clear_cancellerMethod · 0.80
cancelMethod · 0.80
confirmMethod · 0.80
check_timeoutsMethod · 0.80
cancelMethod · 0.80
evict_if_neededMethod · 0.80
create_run_with_idMethod · 0.80

Calls 1

writeMethod · 0.80

Tested by 8

completeMethod · 0.64
complete_streamingMethod · 0.64
popMethod · 0.64
test_removeFunction · 0.64
completeMethod · 0.64
complete_streamingMethod · 0.64