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

Update File-Server Compression and Decompression Processes #8

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

Conversation

G10xy
Copy link

@G10xy G10xy commented May 12, 2024

This pull request introduces support for multiple compression and decompression formats.
Specifically, it adds strategies for handling .gz, .zip, .bz2, .xz formats, both for compressing and decompressing file.

I decided to use Strategy Pattern for easy swapping and extension of compression and decompression methods and to unify in only one method of the controller both APIs to compress or to decompress.

I also updated both the docs of Readme and postman collection.

Last, I optimized imports.

@G10xy
Copy link
Author

G10xy commented May 12, 2024

I hope this PR will be appreciated.
If so, I would proceed with future implementations to compress/decompress many files or even directories.
😃

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.

None yet

1 participant