pub fn scan_files_parallel(
files: &[PathBuf],
pattern: &Pattern,
language: &dyn LanguageAdapter,
) -> Vec<FileResult>Expand description
Scan a batch of files in parallel using Rayon’s thread pool.
Each file is read, parsed, and matched independently. Results are
collected into a Vec<FileResult>.
§Arguments
files: Paths to the files to scan.pattern: The transformation pattern to match against.language: The language adapter (must beSend + Sync).
§Returns
A vector of FileResults, one per input file (in arbitrary order).