Make a file from a TarInfo object with an unknown type at targetpath.
(self, tarinfo, targetpath)
| 2686 | copyfileobj(source, target, tarinfo.size, ReadError, bufsize) |
| 2687 | |
| 2688 | def makeunknown(self, tarinfo, targetpath): |
| 2689 | """Make a file from a TarInfo object with an unknown type |
| 2690 | at targetpath. |
| 2691 | """ |
| 2692 | self.makefile(tarinfo, targetpath) |
| 2693 | self._dbg(1, "tarfile: Unknown file type %r, " \ |
| 2694 | "extracted as regular file." % tarinfo.type) |
| 2695 | |
| 2696 | def makefifo(self, tarinfo, targetpath): |
| 2697 | """Make a fifo called targetpath. |
no test coverage detected