Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ is_symlink
Method
is_symlink
Lib/pathlib/__init__.py:901–905 ·
view source on GitHub ↗
Whether this path is a symbolic link.
(self)
Source
from the content-addressed store, hash-verified
899
return
os.path.ismount(self)
900
901
def
is_symlink(self):
902
""
"
903
Whether this path is a symbolic link.
904
""
"
905
return
os.path.islink(self)
906
907
def
is_junction(self):
908
""
"
Callers
12
delete_glob
Function · 0.95
_delete
Method · 0.95
expect_file
Method · 0.95
copy
Function · 0.45
clone_testbed
Function · 0.45
walk
Function · 0.45
_fwalk
Function · 0.45
_islink
Function · 0.45
_copytree
Function · 0.45
is_symlink
Method · 0.45
_copy_from
Method · 0.45
make_symlinks.py
File · 0.45
Calls
1
islink
Method · 0.80
Tested by
1
expect_file
Method · 0.76