Searched refs:addfile (Results 1 – 2 of 2) sorted by relevance
616 tar.addfile(tarfile.TarInfo("foo"))633 tar.addfile(t)1013 tar.addfile(tarinfo)1111 tar.addfile(tarinfo)1132 tar.addfile(tarfile.TarInfo("test"))1160 tar.addfile(t)1187 tar.addfile(tarfile.TarInfo(name))1201 self.assertRaises(UnicodeError, tar.addfile, tarinfo)1203 tar.addfile(tarinfo)1206 self.assertRaises(UnicodeError, tar.addfile, tarinfo)[all …]
1989 self.addfile(tarinfo, f)1993 self.addfile(tarinfo)2000 self.addfile(tarinfo)2002 def addfile(self, tarinfo, fileobj=None): member in TarFile2574 self.tarfile.addfile(tinfo, StringIO(bytes))