MCPcopy 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_globFunction · 0.95
_deleteMethod · 0.95
expect_fileMethod · 0.95
copyFunction · 0.45
clone_testbedFunction · 0.45
walkFunction · 0.45
_fwalkFunction · 0.45
_islinkFunction · 0.45
_copytreeFunction · 0.45
is_symlinkMethod · 0.45
_copy_fromMethod · 0.45
make_symlinks.pyFile · 0.45

Calls 1

islinkMethod · 0.80

Tested by 1

expect_fileMethod · 0.76