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

Method scandir

Lib/pathlib/types.py:73–74  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

71
72 @staticmethod
73 def scandir(path):
74 return ((child.info, child.name, child) for child in path.iterdir())
75
76 @staticmethod
77 def concat_path(path, text):

Callers 15

iterdirMethod · 0.45
test_unpickableMethod · 0.45
get_entriesMethod · 0.45
test_uninstantiableMethod · 0.45
test_unpickableMethod · 0.45
get_entryMethod · 0.45
test_bytesMethod · 0.45
test_bytes_likeMethod · 0.45
test_fdMethod · 0.45

Calls 1

iterdirMethod · 0.45

Tested by 15

test_unpickableMethod · 0.36
get_entriesMethod · 0.36
test_uninstantiableMethod · 0.36
test_unpickableMethod · 0.36
get_entryMethod · 0.36
test_bytesMethod · 0.36
test_bytes_likeMethod · 0.36
test_fdMethod · 0.36
test_closeMethod · 0.36