file-server icon indicating copy to clipboard operation
file-server copied to clipboard

Update File-Server Compression and Decompression Processes

Open G10xy opened this issue 9 months ago • 2 comments

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 avatar May 12 '24 10:05 G10xy