Lines Matching refs:TarInfo

70 __all__ = ["TarFile", "TarInfo", "is_tarfile", "TarError", "ReadError",
130 # Fields from a pax header that override a TarInfo attribute.
840 class TarInfo(object):
843 TarInfo objects are returned by TarFile.getmember(),
860 'in TarInfo objects of type LNKTYPE and SYMTYPE.'),
876 """Construct a TarInfo object. name is the optional name
949 """Return the TarInfo's attributes as a dictionary.
1117 raise ValueError("TarInfo.type must not be None")
1222 """Construct a TarInfo object from a 512 byte bytes object.
1285 """Return the next TarInfo object from TarFile object
1303 # 3. Return self or another valid TarInfo object.
1328 # Patch the TarInfo object with saved global
1351 # Patch the TarInfo object from the next header with
1500 # Patch the TarInfo object with the extended header info.
1635 # class TarInfo
1659 tarinfo = TarInfo # The default TarInfo class to use.
1726 self.members = [] # list of members as TarInfo objects
2000 """Return a TarInfo object for member `name'. If `name' can not be
2011 """Return the members of the archive as a list of TarInfo objects. The
2027 """Create a TarInfo object from the result of os.stat or equivalent
2051 # Now, fill the TarInfo object with
2095 # Fill the TarInfo object with all
2169 that expects a TarInfo object argument and returns the changed
2170 TarInfo object, if it returns None the TarInfo object will be
2185 # Create a TarInfo object from the file.
2192 # Change or exclude the TarInfo object.
2215 """Add the TarInfo object `tarinfo' to the archive. If `fileobj' is
2217 from it and added to the archive. You can create TarInfo objects
2268 It can return a changed TarInfo or None to skip the member.
2306 as possible. `member' may be a filename or a TarInfo object. You can
2313 It can return a changed TarInfo or None to skip the member.
2322 """Get filtered TarInfo (or None) from member, which might be a str"""
2378 a filename or a TarInfo object. If `member' is a regular file or
2410 """Extract the TarInfo object tarinfo to a physical
2413 # Fetch the TarInfo object for the given name
2488 """Make a file from a TarInfo object with an unknown type
2604 """Return the next member of the archive as a TarInfo object, when