MCPcopy
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
249def getuserid(user):

Callers 2

test_symlink_isfileMethod · 0.45
test_stat_helpersMethod · 0.45

Calls 1

lstatMethod · 0.80

Tested by 2

test_symlink_isfileMethod · 0.36
test_stat_helpersMethod · 0.36