Searched defs:gzip (Results 1 - 3 of 3) sorted by relevance

/pkg/src/modules/
H A Dpkggzip.py28 import gzip namespace
30 class PkgGzipFile(gzip.GzipFile):
32 pathname or timestamp in the gzip header. This allows us to get
33 deterministic gzip files on compression, so that we can reliably
39 gzip.GzipFile.__init__(self, filename, mode, compresslevel,
43 # This is a gzip header conforming to RFC1952. The first two bytes
44 # (\037,\213) are the gzip magic number. The third byte is the
H A Dsysvpkg.py33 When a package is in datastream format, it may be compressed with gzip.
41 import gzip namespace
136 g = gzip.GzipFile(fileobj=f)
H A Dcpiofile.py109 blockwise. Use of gzip or bzip2 compression is possible.
161 """Initialize for writing with gzip compression.
212 """Initialize for reading a gzip compressed fileobj.
217 # taken from gzip.GzipFile with some alterations
219 raise ReadError("not a gzip file")
612 'r:gz' open for reading with gzip compression
616 'w:gz' open for writing with gzip compression
619 'r|gz' open a gzip compressed stream of cpio blocks
622 'w|gz' open a gzip compressed stream for writing
680 """Open gzip compresse
687 import gzip namespace
[all...]

Completed in 12 milliseconds