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

Method size

src/_pytest/_py/path.py:826–828  ·  view source on GitHub ↗

Return size of the underlying file object

(self)

Source from the content-addressed store, hash-verified

824 return res
825
826 def size(self) -> int:
827 """Return size of the underlying file object"""
828 return self.stat().size
829
830 def mtime(self) -> float:
831 """Return last modification time of the path."""

Callers

nothing calls this directly

Calls 1

statMethod · 0.95

Tested by

no test coverage detected