Expand description
Code duplication / clone detection module.
This module implements suffix array + LCP based clone detection for JavaScript/TypeScript source files. It supports multiple detection modes from strict (exact matches only) to semantic (structure-aware matching that ignores identifier names and literal values).
Re-exports§
pub use types::CloneGroup;pub use types::CloneInstance;pub use types::DetectionMode;pub use types::DuplicatesConfig;pub use types::DuplicationReport;pub use types::DuplicationStats;
Modules§
Functions§
- find_
duplicates - Run duplication detection on the given files.
- find_
duplicates_ in_ project - Run duplication detection on a project directory using auto-discovered files.