Function: f-access-time

f-access-time is a byte-compiled function defined in f.el.

Signature

(f-access-time PATH &optional TIMESTAMP-P)

Documentation

Return the last access time of PATH.

The access time (atime) of PATH is in the same format as current-time. For details on TIMESTAMP-P and the format of the returned value, see f--get-time.

Source Code

;; Defined in ~/.emacs.d/elpa/f-20241003.1131/f.el
(defun f-access-time (path &optional timestamp-p)
  "Return the last access time of PATH.
The access time (atime) of PATH is in the same format as
`current-time'.  For details on TIMESTAMP-P and the format of the
returned value, see `f--get-time'."
  (f--get-time path
               timestamp-p
               (if (fboundp 'file-attribute-access-time)
                   #'file-attribute-access-time
                 (lambda (f) (nth 4 f)))))