(
path: P,
pattern: &str,
)
| 52 | |
| 53 | impl 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, |
nothing calls this directly
no outgoing calls
no test coverage detected