Structs§
- Analysis
Output - Result of
run_analysis. - Check
Thresholds - Thresholds for the
checksubcommand. - CliOverrides
- Optional CLI overrides applied on top of file-based config.
Enums§
- CliError
- Errors returned by CLI command functions.
- Command
- CLI subcommands shared between
cargo-dupesandcode-dupes. - Output
Format - Output format for CLI reports.
Functions§
- apply_
overrides - Apply CLI overrides to a loaded
Config. - cmd_
check - Check thresholds; returns
Err(CliError::CheckFailed)if any are exceeded. - cmd_
cleanup - Remove stale entries from the ignore file.
- cmd_
ignore - Add a fingerprint to the ignore list.
- cmd_
ignored - List all ignored fingerprints.
- cmd_
report - Show a full duplication report (stats + groups).
- cmd_
stats - Show duplication statistics only.
- create_
reporter - Create a reporter for the given output format.
- run_
analysis - Scan files, run the analysis pipeline, and return the output.
Type Aliases§
- CliResult
- Result type for CLI operations.