Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
iterdir
Method · 0.45
test_copytree_arg_types_of_ignore
Method · 0.45
test_unpickable
Method · 0.45
get_entries
Method · 0.45
test_uninstantiable
Method · 0.45
test_unpickable
Method · 0.45
get_entry
Method · 0.45
test_current_directory
Method · 0.45
test_bytes
Method · 0.45
test_bytes_like
Method · 0.45
test_fd
Method · 0.45
test_consume_iterator_twice
Method · 0.45
Calls
1
iterdir
Method · 0.45
Tested by
15
test_copytree_arg_types_of_ignore
Method · 0.36
test_unpickable
Method · 0.36
get_entries
Method · 0.36
test_uninstantiable
Method · 0.36
test_unpickable
Method · 0.36
get_entry
Method · 0.36
test_current_directory
Method · 0.36
test_bytes
Method · 0.36
test_bytes_like
Method · 0.36
test_fd
Method · 0.36
test_consume_iterator_twice
Method · 0.36
test_close
Method · 0.36