Return the members of the archive as a list of TarInfo objects. The list has the same order as the members in the archive.
(self)
| 2143 | return tarinfo |
| 2144 | |
| 2145 | def getmembers(self): |
| 2146 | """Return the members of the archive as a list of TarInfo objects. The |
| 2147 | list has the same order as the members in the archive. |
| 2148 | """ |
| 2149 | self._check() |
| 2150 | if not self._loaded: # if we want to obtain a list of |
| 2151 | self._load() # all members, we first have to |
| 2152 | # scan the whole archive. |
| 2153 | return self.members |
| 2154 | |
| 2155 | def getnames(self): |
| 2156 | """Return the members of the archive as a list of their names. It has |