Add trash bin size reporting to disk usage output#27
Conversation
Introduced a get_trash_path() helper to detect the OS-specific trash/recycle bin location and added logic in main() to display the size of the trash bin. The output now warns users if the trash exceeds 1GB and handles permission or missing path cases gracefully.
⸜(。˃ ᵕ ˂ )⸝♡ Thank you for opening this Pull Request, AzisK!( ˶°ㅁ°) !! It's Trivia Time!Here are 3 trivia questions to keep you entertained while CI runs. 🧩 Q1: In the video game "Team Fortress 2", which class is able to double jump?A) Engineer 🧩 Q2: Which is NOT a book in the Harry Potter Series?A) The House Elf 🧩 Q3: In "Kingdom Hearts", who abducts Jasmine in the Lamp Chamber?A) Riku
|
|
This is an excellent pull request! You've introduced a highly useful feature that provides users with additional insights into their disk usage by incorporating trash bin size reporting. Here’s a detailed review of the changes: Strengths:
Suggestions for Improvement:
Additional Kudos:
Suggested Future Enhancements (Not a blocker for this PR):
Closing Remarks:Well done on implementing an impactful feature in a minimal and efficient way! The code is solid, clean, and demonstrates excellent care for user experience by gracefully handling failure cases. With a few minor adjustments, it will be even better. Keep up the fantastic work—you’re making users’ lives easier, one disk cleanup at a time! 🚀 |

Introduced a get_trash_path() helper to detect the OS-specific trash/recycle bin location and added logic in main() to display the size of the trash bin. The output now warns users if the trash exceeds 1GB and handles permission or missing path cases gracefully.