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

Method atime

src/_pytest/_py/path.py:1022–1024  ·  src/_pytest/_py/path.py::LocalPath.atime

Return last access time of the path.

(self)

Source from the content-addressed store, hash-verified

1020 return self.__class__(os.path.realpath(self.strpath))
1021
1022 def atime(self):
1023 class="st">""class="st">"Return last access time of the path."class="st">""
1024 return self.stat().atime
1025
1026 def __repr__(self):
1027 return fclass="st">"local({self.strpath!r})"

Callers 3

setmtimeMethod · 0.95
test_atimeMethod · 0.80
test_copy_stat_fileMethod · 0.80

Calls 1

statMethod · 0.95

Tested by 2

test_atimeMethod · 0.64
test_copy_stat_fileMethod · 0.64