pub fn find_duplicates(
root: &Path,
files: &[DiscoveredFile],
config: &DuplicatesConfig,
) -> DuplicationReportExpand description
Run duplication detection on the given files.
This is the main entry point for the duplication analysis. It:
- Reads and tokenizes all source files in parallel
- Normalizes tokens according to the detection mode
- Runs suffix array + LCP clone detection
- Groups clone instances into families with refactoring suggestions
- Applies inline suppression filters