Searched refs:tarinfo (Results 1 - 5 of 5) sorted by relevance
/third_party/python/Lib/ |
H A D | tarfile.py | 710 def __init__(self, tarfile, tarinfo): 711 fileobj = _FileInFile(tarfile.fileobj, tarinfo.offset_data, 712 tarinfo.size, tarinfo.sparse) 725 def __init__(self, tarinfo): 726 self.tarinfo = tarinfo 727 super().__init__(f'member {tarinfo.name!r} has an absolute path') 730 def __init__(self, tarinfo, path): 731 self.tarinfo 1659 tarinfo = TarInfo # The default TarInfo class to use. global() variable in TarFile [all...] |
H A D | shutil.py | 946 def _set_uid_gid(tarinfo): 948 tarinfo.gid = gid 949 tarinfo.gname = group 951 tarinfo.uid = uid 952 tarinfo.uname = owner 953 return tarinfo
|
/third_party/python/Lib/test/ |
H A D | test_tarfile.py | 107 tarinfo = self.tar.getmember("ustar/regtype") 108 with self.tar.extractfile(tarinfo) as fobj: 110 self.assertEqual(len(data), tarinfo.size, 117 tarinfo = self.tar.getmember("ustar/regtype") 121 with self.tar.extractfile(tarinfo) as fobj: 135 tarinfo = self.tar.getmember("ustar/regtype") 138 with self.tar.extractfile(tarinfo) as fobj2: 149 tarinfo = self.tar.getmember("ustar/regtype") 150 with self.tar.extractfile(tarinfo) as fobj: 168 self.assertEqual(tarinfo [all...] |
/third_party/python/Lib/distutils/ |
H A D | archive_util.py | 97 def _set_uid_gid(tarinfo): 99 tarinfo.gid = gid 100 tarinfo.gname = group 102 tarinfo.uid = uid 103 tarinfo.uname = owner 104 return tarinfo
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_sdist.py | 435 filenames = [tarinfo.name for tarinfo in archive]
|
Completed in 7 milliseconds