Skip to content

Conversation

@masiedu4
Copy link
Owner

@masiedu4 masiedu4 commented Jan 2, 2025

Features:

  • Added force restore with automatic backup
  • Improved cleanup system with size reporting
  • Fixed content cleanup logic

…nd proceed to restore(by overriding current state)
The cleanup system had two critical issues:
1. Fixed inverted cleanup logic that was keeping files meant to be deleted
2. Added proper cleanup when all snapshots are deleted

Changes:
- Corrected ContentStore.cleanup to remove specified files instead of keeping them
- Added size reporting for cleanup operations
- Improved logging messages for better visibility of cleanup operations

This ensures that:
- Content is properly removed when using --cleanup flag
- All content is cleaned up when no snapshots remain
- Users get better feedback about cleanup operations and space savings

Patch: 0.1.1
@masiedu4 masiedu4 merged commit 728fa50 into main Jan 2, 2025
2 checks passed
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