Function rg::files_parallel
source · pub(crate) fn files_parallel(args: &Args) -> Result<bool, Box<dyn Error>>
Expand description
The top-level entry point for listing files without searching them. This recursively steps through the file list (current directory by default) and prints each path sequentially using multiple threads.
Requesting a sorted output from ripgrep (such as with --sort path
) will
automatically disable parallelism and hence sorting is not handled here.