Skip to content

Add system junk cleaner, dev presets and a parallel scanner - #1

Merged
MahmudX merged 4 commits into
masterfrom
feature/storage-cleaner
Oct 29, 2026
Merged

MahmudX merged 4 commits into
masterfrom
feature/storage-cleaner

Conversation

@MahmudX

@MahmudX MahmudX commented Oct 29, 2026

Copy link
Copy Markdown
Member
  • crow clean scans temp files, crash dumps, error reports, shader caches, browser and app caches, plus opt-in Windows Update downloads and package manager caches. Pick from a checklist with safe locations preselected; supports --dry-run, --all, --older-than and --force.
  • crow dev --in <dir> finds build output of .NET, Node.js, Rust, Maven, Gradle, Python, Flutter and CMake projects in one pass, including nested projects in monorepos.
  • All scans share a parallel, low-allocation directory walker that never follows reparse points: dev scan ~9x faster, system scan ~2.3x faster.
  • Results are sorted by size. Paths are markup-escaped in output.
  • Target net10.0, switch to Crow.slnx, fix tests broken by the ScanDeleteConfiguration rename and the null-array IndexOf case.

- `crow clean` scans temp files, crash dumps, error reports, shader caches,
  browser and app caches, plus opt-in Windows Update downloads and package
  manager caches. Pick from a checklist with safe locations preselected;
  supports --dry-run, --all, --older-than and --force.
- `crow dev --in <dir>` finds build output of .NET, Node.js, Rust, Maven,
  Gradle, Python, Flutter and CMake projects in one pass, including nested
  projects in monorepos.
- All scans share a parallel, low-allocation directory walker that never
  follows reparse points: dev scan ~9x faster, system scan ~2.3x faster.
- Results are sorted by size. Paths are markup-escaped in output.
- Target net10.0, switch to Crow.slnx, fix tests broken by the
  ScanDeleteConfiguration rename and the null-array IndexOf case.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@MahmudX MahmudX self-assigned this Oct 29, 2026
MahmudX and others added 3 commits October 29, 2026 11:46
Optional flags in the usage lines were written as [--flag], which Spectre
parses as a style tag, so `crow -h` failed with "Could not find color or
style". Escape the brackets and add a test that parses every Texts string
as markup.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Directory.Delete(recursive) stopped at the first entry it could not remove,
leaving folders half deleted. Node on Windows creates file-type symlinks
that point at folders (e.g. .next/node_modules/firebase-admin-<hash>), which
fail with "Access denied", and read-only files fail the same way.

- New parallel SafeFileSystem.DeleteTree: removes links without touching
  their targets (trying both link kinds), clears read-only flags, retries
  briefly on transient locks, and keeps going past failures.
- Every clean now ends with a panel showing the space freed, items
  removed, time taken, free space left on the drive, and why anything
  was skipped.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@MahmudX
MahmudX merged commit 7c739cb into master Oct 29, 2026
@MahmudX
MahmudX deleted the feature/storage-cleaner branch October 29, 2026 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant