Function rg::search::search_reader
source · fn search_reader<M: Matcher, R: Read, W: WriteColor>(
matcher: M,
searcher: &mut Searcher,
printer: &mut Printer<W>,
path: &Path,
rdr: R
) -> Result<SearchResult>
Expand description
Search the contents of the given reader using the given matcher, searcher and printer.