Lines Matching refs:TarFile
70 __all__ = ["TarFile", "TarInfo", "is_tarfile", "TarError", "ReadError",
333 """Class that serves as an adapter between TarFile and
843 TarInfo objects are returned by TarFile.getmember(),
844 TarFile.getmembers() and TarFile.gettarinfo() and are
1285 """Return the next TarInfo object from TarFile object
1637 class TarFile(object):
1638 """The TarFile Class provides an interface to tar archives.
1675 `fileobj' is not closed, when TarFile is closed.
1767 # TarFile class. The open() method is the only one that is needed for
1772 # This concept allows one to subclass TarFile without losing the comfort of
1779 an appropriate TarFile class.
1976 # The public methods which TarFile provides:
1979 """Close the TarFile. In write-mode, two finishing zero blocks are
2247 + 'TarFile.extraction_filter. Use a function such as '
2605 TarFile is opened for reading. Return None if there is no more
2719 """Check if TarFile is still open, and if the operation's mode
2720 corresponds to TarFile's mode.
2753 # Yield items using TarFile's next() method.
2754 # When all members have been read, set TarFile as _loaded.
2819 open = TarFile.open
2864 with TarFile.open(src, 'r:*') as tf:
2879 with TarFile.open(src, 'r:*') as tf:
2910 with TarFile.open(tar_name, tar_mode) as tf: