MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / with_patterns

Method with_patterns

crates/opencode-tool/src/tool.rs:236–239  ·  view source on GitHub ↗
(mut self, patterns: Vec<String>)

Source from the content-addressed store, hash-verified

234 }
235
236 pub fn with_patterns(mut self, patterns: Vec<String>) -> Self {
237 self.patterns = patterns;
238 self
239 }
240
241 pub fn with_metadata(mut self, key: impl Into<String>, value: serde_json::Value) -> Self {
242 self.metadata.insert(key.into(), value);

Callers 3

executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected