Skip to content

feat: interactive disk reclaim via scoped sweep and leftover-target purge#5

Merged
cs50victor merged 7 commits into
mainfrom
fix/better_sweep
May 30, 2026
Merged

feat: interactive disk reclaim via scoped sweep and leftover-target purge#5
cs50victor merged 7 commits into
mainfrom
fix/better_sweep

Conversation

@cs50victor

Copy link
Copy Markdown
Owner
  • Gate the sweep suggestion on cargo-sweep being on PATH; when missing, offer the install instead, so frd never proposes a step that can only fail
  • Replace the fixed project-root sweep with a scope picked at accept time: the project dir or any parent up to the home dir, recursing for the wider scopes
  • Non-interactive and --yes runs take the narrowest scope (project dir)
  • Report reclaimed space by sizing the chosen directory before and after the sweep
  • Doctor now lists the sweep as recurring maintenance via the new SweepSpec

Validation: cargo test (5 pass, +2 for the parent-dir boundary), fmt check, and dry-run plus doctor smoke tests with the binary present and absent

@cs50victor cs50victor changed the title feat: interactive cargo-sweep with dir picker and reclaim report feat: interactive disk reclaim via scoped sweep and leftover-target purge May 30, 2026
@cs50victor cs50victor merged commit 05f4c58 into main May 30, 2026
1 check passed
@cs50victor cs50victor deleted the fix/better_sweep branch May 30, 2026 23:22
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