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

Method skill_name

core/src/hooks/events.rs:646–652  ·  view source on GitHub ↗

Get the skill name (for skill events)

(&self)

Source from the content-addressed store, hash-verified

644
645 /// Get the skill name (for skill events)
646 pub fn skill_name(&self) -> Option<&str> {
647 match self {
648 HookEvent::SkillLoad(e) => Some(&e.skill_name),
649 HookEvent::SkillUnload(e) => Some(&e.skill_name),
650 _ => None,
651 }
652 }
653}
654
655#[cfg(test)]

Callers 1

matchesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected