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

Method children

Lib/importlib/metadata/__init__.py:742–747  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

740 return pathlib.Path(self.root, child)
741
742 def children(self):
743 with suppress(Exception):
744 return os.listdir(self.root or '.')
745 with suppress(Exception):
746 return self.zip_children()
747 return []
748
749 def zip_children(self):
750 zip_path = zipfile.Path(self.root)

Callers 1

__init__Method · 0.45

Calls 3

zip_childrenMethod · 0.95
suppressClass · 0.90
listdirMethod · 0.80

Tested by

no test coverage detected