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

Function _path_isdir

Lib/importlib/_bootstrap_external.py:169–173  ·  view source on GitHub ↗

Replacement for os.path.isdir.

(path)

Source from the content-addressed store, hash-verified

167
168
169def _path_isdir(path):
170 """Replacement for os.path.isdir."""
171 if not path:
172 path = _os.getcwd()
173 return _path_is_mode_type(path, 0o040000)
174
175
176if _MS_WINDOWS:

Callers 3

set_dataMethod · 0.85
find_specMethod · 0.85

Calls 1

_path_is_mode_typeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…