MCPcopy
hub / github.com/pytest-dev/pytest / exists

Method exists

src/_pytest/_py/path.py:126–127  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

124 return S_ISREG(self._stat().mode)
125
126 def exists(self):
127 return self._stat()
128
129 def link(self):
130 st = self.path.lstat()

Callers 15

mainFunction · 0.45
set_log_pathMethod · 0.45
cleanup_dead_symlinksFunction · 0.45
cleanup_numbered_dirFunction · 0.45
import_pathFunction · 0.45
safe_existsFunction · 0.45
get_last_failed_pathsMethod · 0.45
getbasetempMethod · 0.45
find_specMethod · 0.45
pypkgpathMethod · 0.45
pathMethod · 0.45
get_common_ancestorFunction · 0.45

Calls 1

_statMethod · 0.95