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

Function S_ISLNK

Lib/stat.py:70–72  ·  view source on GitHub ↗

Return True if mode is from a symbolic link.

(mode)

Source from the content-addressed store, hash-verified

68 return S_IFMT(mode) == S_IFIFO
69
70def S_ISLNK(mode):
71 """Return True if mode is from a symbolic link."""
72 return S_IFMT(mode) == S_IFLNK
73
74def S_ISSOCK(mode):
75 """Return True if mode is from a socket."""

Callers 2

is_symlinkMethod · 0.90
is_symlinkMethod · 0.90

Calls 1

S_IFMTFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…