Home | History | Annotate | Download | only in python2.7

Lines Matching defs:ZipInfo

18            "ZipInfo", "ZipFile", "PyZipFile", "LargeZipFile" ]
262 class ZipInfo (object):
515 def __init__(self, fileobj, mode, zipinfo, decrypter=None,
521 self._compress_type = zipinfo.compress_type
522 self._compress_size = zipinfo.compress_size
523 self._compress_left = zipinfo.compress_size
547 self.name = zipinfo.filename
549 if hasattr(zipinfo, 'CRC'):
550 self._expected_crc = zipinfo.CRC
740 self.filelist = [] # List of ZipInfo instances for archive
839 # Create ZipInfo instance to store file information
840 x = ZipInfo(filename)
876 """Return a list of class ZipInfo instances for files in the
901 """Return the instance of ZipInfo given 'name'."""
952 if isinstance(name, ZipInfo):
1015 as possible. `member' may be a filename or a ZipInfo object. You can
1018 if not isinstance(member, ZipInfo):
1035 for zipinfo in members:
1036 self.extract(zipinfo, path, pwd)
1039 """Extract the ZipInfo object 'member' to a physical
1118 # Create ZipInfo instance to store file information
1126 zinfo = ZipInfo(arcname, date_time)
1198 'bytes'. 'zinfo_or_arcname' is either a ZipInfo instance or
1200 if not isinstance(zinfo_or_arcname, ZipInfo):
1201 zinfo = ZipInfo(filename=zinfo_or_arcname,