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