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

Method mtime

src/_pytest/_py/path.py:830–832  ·  view source on GitHub ↗

Return last modification time of the path.

(self)

Source from the content-addressed store, hash-verified

828 return self.stat().size
829
830 def mtime(self) -> float:
831 """Return last modification time of the path."""
832 return self.stat().mtime
833
834 def copy(self, target, mode=False, stat=False):
835 """Copy path to target.

Callers

nothing calls this directly

Calls 1

statMethod · 0.95

Tested by

no test coverage detected