Return the members of the archive as a list of their names. It has the same order as the list returned by getmembers().
(self)
| 2153 | return self.members |
| 2154 | |
| 2155 | def getnames(self): |
| 2156 | """Return the members of the archive as a list of their names. It has |
| 2157 | the same order as the list returned by getmembers(). |
| 2158 | """ |
| 2159 | return [tarinfo.name for tarinfo in self.getmembers()] |
| 2160 | |
| 2161 | def gettarinfo(self, name=None, arcname=None, fileobj=None): |
| 2162 | """Create a TarInfo object from the result of os.stat or equivalent |