Skip to content

v0.2.0 — File Grouping (2025-11-25)

Choose a tag to compare

@cloudlein cloudlein released this 25 Nov 11:58
· 6 commits to master since this release
b299998

Changelog

Added

  • Implemented dynamic file grouping using HashMap<String, Vec<String>>.
  • Added modular architecture with separate functions:
    • read_file() for directory traversal
    • extract_extension() for extension handling
    • classify() for category detection
    • group_file() for inserting file paths into categorized groups
  • Added error handling for:
    • Files without extensions
    • Unsupported file types
  • Implemented console output to display categorized results.

Improved

  • Code structure refactored to increase maintainability and scalability.
  • Test coverage improved to validate grouping logic.

Notes

This release transitions the project from hardcoded struct-based grouping to a dynamic configuration-driven system, preparing the foundation for future features like CLI flags, file moving actions, and JSON reporting.


Previous Release

v0.1.0 — Directory Scanner

  • Implemented basic directory scanning with WalkDir.
  • Printed list of detected files.
  • Added minimal error handling and initial test coverage.