MCPcopy Index your code
hub / github.com/python/cpython / _get_files

Method _get_files

Lib/zipimport.py:215–225  ·  view source on GitHub ↗

Return the files within the archive path.

(self)

Source from the content-addressed store, hash-verified

213
214
215 def _get_files(self):
216 """Return the files within the archive path."""
217 try:
218 files = _zip_directory_cache[self.archive]
219 except KeyError:
220 try:
221 files = _zip_directory_cache[self.archive] = _read_directory(self.archive)
222 except ZipImportError:
223 files = {}
224
225 return files
226
227
228 def invalidate_caches(self):

Callers 9

get_dataMethod · 0.95
get_sourceMethod · 0.95
_is_dirFunction · 0.80
_get_module_infoFunction · 0.80
_get_pyc_sourceFunction · 0.80
_get_module_codeFunction · 0.80
testInvalidateCachesMethod · 0.80

Calls 1

_read_directoryFunction · 0.85