MCPcopy Index your code
hub / github.com/RustPython/RustPython / getmembers

Method getmembers

Lib/tarfile.py:2126–2134  ·  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

2124 return tarinfo
2125
2126 def getmembers(self):
2127 """Return the members of the archive as a list of TarInfo objects. The
2128 list has the same order as the members in the archive.
2129 """
2130 self._check()
2131 if not self._loaded: # if we want to obtain a list of
2132 self._load() # all members, we first have to
2133 # scan the whole archive.
2134 return self.members
2135
2136 def getnames(self):
2137 """Return the members of the archive as a list of their names. It has

Callers 15

getnamesMethod · 0.95
_getmemberMethod · 0.95
allmethodsFunction · 0.80
docmoduleMethod · 0.80
docmoduleMethod · 0.80
mainFunction · 0.80
membersMethod · 0.80
test_empty_tarfileMethod · 0.80
test_find_membersMethod · 0.80

Calls 2

_checkMethod · 0.95
_loadMethod · 0.95

Tested by 15

membersMethod · 0.64
test_empty_tarfileMethod · 0.64
test_find_membersMethod · 0.64
test_filterMethod · 0.64
_testMethod · 0.64