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 a mode-independent normalized short content fingerprint for a clone group from all distinct instance token sequences.
- 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_ 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.
Type Aliases§
- Clone
Group - Engine alias for
fallow_types::duplicates::CloneGroup. - Clone
Group Kind - Engine alias for
fallow_types::duplicates::CloneGroupKind. - Clone
Instance - Engine alias for
fallow_types::duplicates::CloneInstance. - Default
Ignore Skips - Engine alias for
fallow_types::duplicates::DefaultIgnoreSkips. - Duplication
Report - Engine alias for
fallow_types::duplicates::DuplicationReport. - Duplication
Stats - Engine alias for
fallow_types::duplicates::DuplicationStats. - Refactoring
Kind - Engine alias for
fallow_types::duplicates::RefactoringKind. - Refactoring
Suggestion - Engine alias for
fallow_types::duplicates::RefactoringSuggestion.