MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / getmembers

Method getmembers

tools/python-3.11.9-amd64/Lib/tarfile.py:1989–1997  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers 10

getnamesMethod · 0.95
_getmemberMethod · 0.95
allmethodsFunction · 0.80
docmoduleMethod · 0.80
docmoduleMethod · 0.80
mainFunction · 0.80
unarchiveFunction · 0.80
untar_fileFunction · 0.80

Calls 2

_checkMethod · 0.95
_loadMethod · 0.95

Tested by 2