Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: refactor memory and disk storage classes, improve error handling and file size validation #1276

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 6, 2024

  1. feat: enhance memory and disk storage with error handling and file si…

    …ze validation
    
    - Refactored DiskStorage to use async/await for better readability and error handling.
    - Added file size validation in DiskStorage with a configurable maxSize option.
    - Improved stream error handling in both file.stream and outStream.
    - Ensured proper resource cleanup by destroying streams if file size exceeds the limit.
    - Updated MemoryStorage for consistent error handling and robustness.
    kalebalebachew committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    a323465 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2024

  1. Configuration menu
    Copy the full SHA
    5ed6836 View commit details
    Browse the repository at this point in the history