Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ file
Method
file
src/_pytest/_py/path.py:123–124 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
121
return
S_ISDIR(self._stat().mode)
122
123
def
file(self):
124
return
S_ISREG(self._stat().mode)
125
126
def
exists(self):
127
return
self._stat()
Callers
nothing calls this directly
Calls
1
_stat
Method · 0.95
Tested by
no test coverage detected