Add skill filter (supports glob patterns)
(mut self, name: impl Into<String>)
| 101 | |
| 102 | /// Add skill filter (supports glob patterns) |
| 103 | pub fn with_skill(mut self, name: impl Into<String>) -> Self { |
| 104 | self.skill = Some(name.into()); |
| 105 | self |
| 106 | } |
| 107 | |
| 108 | /// Check if an event matches this matcher |
| 109 | pub fn matches(&self, event: &HookEvent) -> bool { |
no outgoing calls