MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / with_pattern

Method with_pattern

crates/opencode-tool/src/tool.rs:231–234  ·  view source on GitHub ↗
(mut self, pattern: impl Into<String>)

Source from the content-addressed store, hash-verified

229 }
230
231 pub fn with_pattern(mut self, pattern: impl Into<String>) -> Self {
232 self.patterns.push(pattern.into());
233 self
234 }
235
236 pub fn with_patterns(mut self, patterns: Vec<String>) -> Self {
237 self.patterns = patterns;

Callers 15

executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected