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.
- Duplication
Scope - The scope of one duplication run, as the surface resolved it.
Constants§
- FINGERPRINT_
PREFIX - Prefix marking a clone-group fingerprint addressable via
--trace.
Functions§
- apply_
scope - Narrow a duplication report to the scope of the run.
- apply_
top - Keep only the
nhighest-ranked clone groups (--top). - 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.
- filter_
to_ workspaces - Keep only the clone groups with at least one instance under one of the workspace roots.
- 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.
- 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.
- refresh_
scoped_ report - Rebuild the fields that a scope filter invalidates: clone families, mirrored directories, statistics and the report order.
- 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.