Home
last modified time | relevance | path

Searched refs:TarInfo (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Doc/library/
Dtarfile.rst193 Is raised by :meth:`TarInfo.frombuf` if the buffer it gets is invalid.
244 archive several times. Each archive member is represented by a :class:`TarInfo`
256 .. class:: TarFile(name=None, mode='r', fileobj=None, format=DEFAULT_FORMAT, tarinfo=TarInfo, deref…
282 The *tarinfo* argument can be used to replace the default :class:`TarInfo` class
324 Return a :class:`TarInfo` object for member *name*. If *name* can not be found
335 Return the members of the archive as a list of :class:`TarInfo` objects. The
354 Return the next member of the archive as a :class:`TarInfo` object, when
383 may be a filename or a :class:`TarInfo` object. You can specify a different
399 or a :class:`TarInfo` object. If *member* is a regular file, a file-like object
419 be a function that takes a :class:`TarInfo` object argument and returns the
[all …]
/external/python/cpython2/Lib/test/
Dtest_tarfile.py288 tarinfo = tarfile.TarInfo("foo")
303 t = tarfile.TarInfo("foo")
722 tarinfo = tarfile.TarInfo.frombuf(fobj.read(512))
789 tar.addfile(tarfile.TarInfo("foo"))
812 t = tarfile.TarInfo(name)
1231 tarinfo = tarfile.TarInfo(name)
1333 tarinfo = tarfile.TarInfo(name)
1366 tar.addfile(tarfile.TarInfo("test"))
1395 t = tarfile.TarInfo()
1431 tar.addfile(tarfile.TarInfo(name))
[all …]
/external/python/cpython2/Lib/
Dtarfile.py924 class TarInfo(object): class
1509 tarinfo = TarInfo # The default TarInfo class to use.
2608 tinfo = TarInfo(zinfo.filename)
/external/python/cpython2/Doc/whatsnew/
D2.7.rst1606 :mod:`tarfile` now supports filtering the :class:`~tarfile.TarInfo`
1610 :class:`~tarfile.TarInfo` for every file being added, and can modify and return it.