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

Interface Replacer

crates/opencode-tool/src/edit/replacers.rs:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53pub trait Replacer: Send + Sync {
54 fn name(&self) -> &str;
55 fn find<'a>(&'a self, content: &'a str, find: &'a str)
56 -> Box<dyn Iterator<Item = String> + 'a>;
57}
58
59pub struct SimpleReplacer;
60

Callers

nothing calls this directly

Implementers 1

replacers.rscrates/opencode-tool/src/edit/replacer

Calls

no outgoing calls

Tested by

no test coverage detected