Home
last modified time | relevance | path

Searched refs:USTAR_FORMAT (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/
Dtarfile.py95 USTAR_FORMAT = 0 # POSIX.1-1988 (ustar) format variable
1005 if format == USTAR_FORMAT:
1025 return self._create_header(info, USTAR_FORMAT)
1090 return buf + self._create_header(info, USTAR_FORMAT)
1165 return cls._create_header(info, USTAR_FORMAT) + \
1197 return cls._create_header(info, USTAR_FORMAT) + \
1617 return self.format == USTAR_FORMAT
1623 self.format = USTAR_FORMAT
/external/python/cpython2/Lib/test/
Dtest_tarfile.py1416 format = tarfile.USTAR_FORMAT
1626 tarinfo.tobuf(tarfile.USTAR_FORMAT)
1630 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT)
1634 tarinfo.tobuf(tarfile.USTAR_FORMAT)
1638 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT)
1642 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT)
1647 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT)
1652 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT)
/external/python/cpython2/Doc/library/
Dtarfile.rst203 .. data:: USTAR_FORMAT
277 :const:`USTAR_FORMAT`, :const:`GNU_FORMAT` or :const:`PAX_FORMAT` that are
475 attribute to :const:`USTAR_FORMAT`, :const:`False` is equivalent to
723 * The POSIX.1-1988 ustar format (:const:`USTAR_FORMAT`). It supports filenames