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

Method _load

Lib/tarfile.py:2924–2931  ·  view source on GitHub ↗

Read through the entire archive file and look for readable members. This should not run if the file is set to stream.

(self)

Source from the content-addressed store, hash-verified

2922 raise ValueError(tarinfo)
2923
2924 def _load(self):
2925 """Read through the entire archive file and look for readable
2926 members. This should not run if the file is set to stream.
2927 """
2928 if not self.stream:
2929 while self.next() is not None:
2930 pass
2931 self._loaded = True
2932
2933 def _check(self, mode=None):
2934 """Check if TarFile is still open, and if the operation's mode

Callers 14

getmembersMethod · 0.95
get_dataFunction · 0.80
synopsisFunction · 0.80
importfileFunction · 0.80
runMethod · 0.80
test_loadMethod · 0.80
test_load_replacedMethod · 0.80
test_load_failedMethod · 0.80
test_reloadMethod · 0.80
test_reload_modifiedMethod · 0.80

Calls 1

nextMethod · 0.95

Tested by 9

test_loadMethod · 0.64
test_load_replacedMethod · 0.64
test_load_failedMethod · 0.64
test_reloadMethod · 0.64
test_reload_modifiedMethod · 0.64