Return the members of the archive as a list of their names. It has the same order as the list returned by getmembers().
(self)
| 2134 | return self.members |
| 2135 | |
| 2136 | def getnames(self): |
| 2137 | """Return the members of the archive as a list of their names. It has |
| 2138 | the same order as the list returned by getmembers(). |
| 2139 | """ |
| 2140 | return [tarinfo.name for tarinfo in self.getmembers()] |
| 2141 | |
| 2142 | def gettarinfo(self, name=None, arcname=None, fileobj=None): |
| 2143 | """Create a TarInfo object from the result of os.stat or equivalent |