Home | History | Annotate | Download | only in Lib

Lines Matching defs:ZipInfo

17            "ZipInfo", "ZipFile", "PyZipFile", "LargeZipFile" ]

254 class ZipInfo (object):
476 def __init__(self, fileobj, mode, zipinfo, decrypter=None):
480 self._compress_type = zipinfo.compress_type
481 self._compress_size = zipinfo.compress_size
482 self._compress_left = zipinfo.compress_size
500 self.name = zipinfo.filename
502 if hasattr(zipinfo, 'CRC'):
503 self._expected_crc = zipinfo.CRC
687 self.filelist = [] # List of ZipInfo instances for archive
791 # Create ZipInfo instance to store file information
792 x = ZipInfo(filename)
828 """Return a list of class ZipInfo instances for files in the
853 """Return the instance of ZipInfo given 'name'."""
885 if isinstance(name, ZipInfo):
941 as possible. `member' may be a filename or a ZipInfo object. You can
944 if not isinstance(member, ZipInfo):
961 for zipinfo in members:
962 self.extract(zipinfo, path, pwd)
965 """Extract the ZipInfo object 'member' to a physical
1035 # Create ZipInfo instance to store file information
1043 zinfo = ZipInfo(arcname, date_time)
1107 'bytes'. 'zinfo_or_arcname' is either a ZipInfo instance or
1109 if not isinstance(zinfo_or_arcname, ZipInfo):
1110 zinfo = ZipInfo(filename=zinfo_or_arcname,