Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ All notable changes to Diskern are documented here. The format follows

- The CLI scan summary now says "1 file" instead of "1 files" when a
scan sees exactly one file
- Removed unused finding categories for duplicate files and empty folders,
since duplicates already have their own report section and empty folders are
not produced by the scanner

## [0.3.0] — 2026-09-12

Expand Down
2 changes: 0 additions & 2 deletions app/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ const CATEGORY_LABEL = {
temp_file: "Temporary files",
log: "Logs",
installer: "Old installers",
duplicate_file: "Duplicate file",
empty_directory: "Empty folders",
system_critical: "System critical",
unknown: "Unrecognized",
};
Expand Down
2 changes: 0 additions & 2 deletions crates/diskern-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ fn category_label(c: Category) -> &'static str {
Category::TempFile => "Temporary files",
Category::Log => "Logs",
Category::Installer => "Installers",
Category::DuplicateFile => "Duplicate file",
Category::EmptyDirectory => "Empty folders",
Category::SystemCritical => "System critical",
Category::Unknown => "Unrecognized",
}
Expand Down
2 changes: 1 addition & 1 deletion crates/diskern-cli/tests/scan_roots.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ fn scan_excludes_cli_directories() {
);
let stdout = String::from_utf8_lossy(&output.stdout);
assert!(
stdout.contains("Scanned 1 files."),
stdout.contains("Scanned 1 file."),
"expected excluded directory to be skipped, got: {stdout}"
);
}
2 changes: 0 additions & 2 deletions crates/diskern-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ pub enum Category {
TempFile,
Log,
Installer,
DuplicateFile,
EmptyDirectory,
SystemCritical, // driver stores, OS components — never touch
Unknown,
}
Expand Down
Loading