Compress
Abstract class for compress class
destination_file_path: strInitialize self. See help(type(self)) for accurate signature.
strstrstr | Nonestrstr | Nonestrstr | NonestrReturn true if the file can be uncompressed by this class
strboolCompress a folder into a tar.gz file.
strstrCompress the content of a folder without creating a subfolder hierarchy. Files and folders inside dir_path will be at the root of the compressed file.
strstrUncompress a tar.gz file.
strstrReturn the list of supported extensions for this compress class without '.'
setReturn the list of all supported extensions without '.'
setCheck if the file is a compressed file.
strboolValidate and normalize an archive entry name to a safe relative path.
Rejects empty names, absolute paths, and any segment that would escape
the archive root via ... Returned value is suitable for joining
with a staging directory.
strstrDetect the extension of the compressed file and use the right decompress method.
strstr