pub fn find(corpus: &CorpusRoot, query: &FindQuery) -> Result<FindResult>Expand description
Find files whose corpus-relative path matches a glob.
The walk runs in parallel across ripgrepās worker threads. To keep results
reproducible regardless of thread scheduling, every matching path is
collected and then deterministically ordered before the result cap is
applied. The only non-deterministic bound is max_files_walked, which acts
purely as a runaway-corpus safety valve.