Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ lexists
Method
lexists
Lib/pathlib/types.py:69–70 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
67
68
@staticmethod
69
def
lexists(path):
70
return
path.info.exists(follow_symlinks=False)
71
72
@staticmethod
73
def
scandir(path):
Callers
15
exists
Method · 0.45
setUp
Method · 0.45
test_islink
Method · 0.45
setUp
Method · 0.45
test_exists
Method · 0.45
test_rmtree_fails_on_symlink_onerror
Method · 0.45
test_rmtree_fails_on_symlink_onexc
Method · 0.45
test_rmtree_fails_on_junctions_onerror
Method · 0.45
test_rmtree_fails_on_junctions_onexc
Method · 0.45
test_shell_injection
Method · 0.45
tearDown
Method · 0.45
_create_missing_dir_link
Method · 0.45
Calls
1
exists
Method · 0.45
Tested by
15
setUp
Method · 0.36
test_islink
Method · 0.36
setUp
Method · 0.36
test_exists
Method · 0.36
test_rmtree_fails_on_symlink_onerror
Method · 0.36
test_rmtree_fails_on_symlink_onexc
Method · 0.36
test_rmtree_fails_on_junctions_onerror
Method · 0.36
test_rmtree_fails_on_junctions_onexc
Method · 0.36
test_shell_injection
Method · 0.36
tearDown
Method · 0.36
_create_missing_dir_link
Method · 0.36
setUp
Method · 0.36