Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ stat
Method
stat
src/_pytest/_py/path.py:962–962 · src/_pytest/_py/path.py::LocalPath.stat
(self, raising: Literal[True] = ...)
Source
from the content-addressed store, hash-verified
960
961
@overload
962
def
stat(self, raising: Literal[True] = ...) -> Stat: ...
963
964
@overload
965
def
stat(self, raising: Literal[False]) -> Stat | None: ...
Callers
15
size
Method · 0.95
mtime
Method · 0.95
atime
Method · 0.95
chmod_rw
Function · 0.80
ensure_deletable
Function · 0.80
make_numbered_dir_with_cleanup
Function · 0.80
_get_increasing_order
Method · 0.80
cacheshow
Function · 0.80
getbasetemp
Method · 0.80
_rewrite_test
Function · 0.80
_read_pyc
Function · 0.80
_stat
Method · 0.80
Calls
2
Stat
Class · 0.85
checked_call
Method · 0.80
Tested by
15
test_cache_dir_permissions
Method · 0.64
unwritable_cache_dir
Method · 0.64
test_newfirst_usecase
Method · 0.64
test_newfirst_parametrize
Method · 0.64
test_pycache_is_readonly
Method · 0.64
test_readonly
Method · 0.64
test_write_pyc
Method · 0.64
test_cleanup_locked
Method · 0.64
chmod_r
Method · 0.64
test_tmp_path_factory_create_directory_with_safe_permissions
Function · 0.64
test_tmp_path_factory_fixes_up_world_readable_permissions
Function · 0.64
test_suppress_error_removing_lock
Function · 0.64