Lines Matching full:compress
18 """Module to compress directories in to series of zip files.
20 This module will take a directory and compress all its contents, including
55 help='The directory containing the files to compress')
65 rtn.add_option('-n', '--nocompress', action='store_false', dest='compress',
119 """Class to compress a directory and all its sub-directories."""
126 base_dir: A string, the directory to compress.
137 self.compress = enable_compression
143 """Start compress of the directory.
180 if self.compress:
184 compress=compress_bit)
195 def OpenZipFileAtPath(self, path, mode=None, compress=zipfile.ZIP_DEFLATED):
206 return zipfile.ZipFile(path, mode, compress)
209 """Method to compress the given directory.
219 dir_path: A string, the path to the directory to compress.
230 if not self.compress:
298 # IF there is a single file, that means its too large to compress,
333 compress=compress_bit)
361 options.compress)