grep

Function grep 

Source
pub async fn grep(
    pattern: &str,
    root: &str,
    file_glob: Option<String>,
    context_lines: usize,
    case_sensitive: bool,
    max_matches: usize,
) -> Result<String>
Expand description

Search file contents under root for lines matching pattern (regex).