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)
| 1987 | return tarinfo |
| 1988 | |
| 1989 | def getmembers(self): |
| 1990 | """Return the members of the archive as a list of TarInfo objects. The |
| 1991 | list has the same order as the members in the archive. |
| 1992 | """ |
| 1993 | self._check() |
| 1994 | if not self._loaded: # if we want to obtain a list of |
| 1995 | self._load() # all members, we first have to |
| 1996 | # scan the whole archive. |
| 1997 | return self.members |
| 1998 | |
| 1999 | def getnames(self): |
| 2000 | """Return the members of the archive as a list of their names. It has |