Skip to content

diskern scan prints duplicates but never the findings #50

Description

@Muawiya-contact

diskern scan <dir> prints the file count, the total, and the top 10 duplicate sets — and that's it. report.findings is only ever used for its .len().

So the part of the report that says what a file is and why it's safe, which is the whole point of the rules engine, is invisible unless you pass --json and read it yourself.

Something like the app's grouping would do: findings by verdict, then by category, with the matched rule as the reason. Worth having a --top N or --verdict safe filter so it stays readable on a big scan.

crates/diskern-cli/src/main.rs:47

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomersrustPull requests that update rust code

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions