Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ islink
Method
islink
src/_pytest/_py/path.py:244–246 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
242
return
S_ISREG(self._osstatresult.st_mode)
243
244
def
islink(self):
245
self.path.lstat()
246
return
S_ISLNK(self._osstatresult.st_mode)
247
248
249
def
getuserid(user):
Callers
2
test_symlink_isfile
Method · 0.45
test_stat_helpers
Method · 0.45
Calls
1
lstat
Method · 0.80
Tested by
2
test_symlink_isfile
Method · 0.36
test_stat_helpers
Method · 0.36