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

Method search

crates/opencode-grep/src/search.rs:54–59  ·  view source on GitHub ↗
(
        path: P,
        pattern: &str,
    )

Source from the content-addressed store, hash-verified

52
53impl Ripgrep {
54 pub fn search<P: AsRef<Path>>(
55 path: P,
56 pattern: &str,
57 ) -> Result<Vec<MatchResult>, Box<dyn std::error::Error>> {
58 Self::search_with_limit(path, pattern, usize::MAX)
59 }
60
61 pub fn search_with_limit<P: AsRef<Path>>(
62 path: P,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected