Only into files directly, which is impractical and inconsistent. Like the Archiver, the Compressor API should allow to compress and decompress files into directories. Filename extensions need to be handled accordingly. This might be awkward when removing the filename extension of the compression type from the file. (When a "gz" compressor is created, but the filename extension is ".gzip")
Only into files directly, which is impractical and inconsistent. Like the
Archiver
, theCompressor
API should allow to compress and decompress files into directories. Filename extensions need to be handled accordingly. This might be awkward when removing the filename extension of the compression type from the file. (When a "gz" compressor is created, but the filename extension is ".gzip")