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

Method find

crates/opencode-tool/src/edit/replacers.rs:66–72  ·  view source on GitHub ↗
(
        &'a self,
        _content: &'a str,
        find: &'a str,
    )

Source from the content-addressed store, hash-verified

64 }
65
66 fn find<'a>(
67 &'a self,
68 _content: &'a str,
69 find: &'a str,
70 ) -> Box<dyn Iterator<Item = String> + 'a> {
71 Box::new(std::iter::once(find.to_string()))
72 }
73}
74
75pub struct LineTrimmedReplacer;

Callers 15

update_partFunction · 0.80
search_in_fileFunction · 0.80
resolve_file_referencesFunction · 0.80
split_frontmatterFunction · 0.80
update_global_configFunction · 0.80
parse_npm_specFunction · 0.80
resolve_remote_sessionFunction · 0.80
consume_remote_sseFunction · 0.80
select_modelFunction · 0.80
github_summary_titleFunction · 0.80
slug_overrideFunction · 0.80

Calls 8

newFunction · 0.85
levenshteinFunction · 0.85
is_emptyMethod · 0.80
containsMethod · 0.80
countMethod · 0.80
as_strMethod · 0.45
filterMethod · 0.45
cloneMethod · 0.45