Expand description
Duplication result types exposed through the engine boundary.
Structs§
- Clone
Fingerprint Key - Canonical identity for a clone group when assigning report-scoped handles.
- Clone
Fingerprint Set - Report-scoped clone fingerprint assignment.
Constants§
- FINGERPRINT_
PREFIX - Prefix marking a clone-group fingerprint addressable via
--trace.
Functions§
- clone_
fingerprint - Compute the legacy short content fingerprint for a clone group from its instances.
- dominant_
identifier - Best-effort name for the extracted function, derived from the most frequent non-generic identifier in the representative fragment.
- find_
duplicates - Run duplication detection on a discovered file set.
- find_
duplicates_ cached - Run cached duplication detection inside the engine boundary.
- find_
duplicates_ touching_ files_ with_ defaults - Run focused duplication detection and include metadata about built-in ignored files.
- find_
duplicates_ with_ defaults - Run duplication detection and include metadata about built-in ignored files.
- fingerprint_
for_ fragment - Compute the fingerprint directly from a representative source fragment.
- group_
refactoring_ suggestion - Build a per-group
ExtractFunctionrefactoring suggestion. - recompute_
stats - Recompute duplication statistics after clone groups have been filtered.
- refresh_
clone_ families - Refresh clone-family and mirrored-directory fields after clone groups change.
- source_
token_ kinds_ equivalent - Compare two JS/TS sources by duplicate-token kind sequence.