Home
last modified time | relevance | path

Searched refs:TarInfo (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_tarfile.py444 tarinfo = tarfile.TarInfo("foo")
460 t = tarfile.TarInfo("foo")
745 with unittest.mock.patch("tarfile.TarInfo.fromtarfile") as mock:
1039 # Test if the start offset of the TarInfo object includes
1045 tarinfo = tarfile.TarInfo.frombuf(fobj.read(512),
1170 # TarInfo.
1190 t = tarfile.TarInfo()
1218 tar.addfile(tarfile.TarInfo("foo"))
1233 t = tarfile.TarInfo("foo")
1253 t = tarfile.TarInfo(nam
[all...]
/third_party/python/Lib/
H A Dtarfile.py70 __all__ = ["TarFile", "TarInfo", "is_tarfile", "TarError", "ReadError",
130 # Fields from a pax header that override a TarInfo attribute.
840 class TarInfo(object): class
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 objec
[all...]

Completed in 5 milliseconds