(
root: &Path,
file_tree: &Arc<FileTree>,
pattern: &str,
max_matches: usize,
context_lines: usize,
)
| 92 | /// Grep with default scope (matches anywhere). Convenience wrapper. |
| 93 | #[allow(dead_code)] |
| 94 | pub fn grep( |
| 95 | root: &Path, |
| 96 | file_tree: &Arc<FileTree>, |
| 97 | pattern: &str, |
| 98 | max_matches: usize, |
| 99 | context_lines: usize, |
| 100 | ) -> Result<GrepResponse, String> { |
| 101 | grep_with_scope(root, file_tree, pattern, max_matches, context_lines, GrepScope::All, None) |
| 102 | } |
| 103 | |
| 104 | pub fn grep_with_scope( |
| 105 | root: &Path, |
nothing calls this directly
no test coverage detected