MCPcopy Index your code
hub / github.com/AI45Lab/Code / with_matcher

Method with_matcher

core/src/hooks/engine.rs:85–88  ·  view source on GitHub ↗

Set the matcher

(mut self, matcher: HookMatcher)

Source from the content-addressed store, hash-verified

83
84 /// Set the matcher
85 pub fn with_matcher(mut self, matcher: HookMatcher) -> Self {
86 self.matcher = Some(matcher);
87 self
88 }
89
90 /// Set the configuration
91 pub fn with_config(mut self, config: HookConfig) -> Self {

Calls

no outgoing calls