Function: f-same-time-p

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

Signature

(f-same-time-p FILE OTHER &optional METHOD)

Documentation

Check if FILE and OTHER share the same access or modification time.

For more info on METHOD, see f--date-compare.

Other relevant functions are documented in the f group.

Shortdoc

;; f
(f-same-time-p "same-time1.txt" "same-time2.txt")
    => t
  (f-same-time-p "newer-file.txt" "older-file.txt")
    => nil
  (f-same-time-p "older-file.txt" "newer-file.txt")
    => nil

Aliases

f-same-time?

Source Code

;; Defined in ~/.emacs.d/elpa/f-20241003.1131/f.el
(defun f-same-time-p (file other &optional method)
  "Check if FILE and OTHER share the same access or modification time.

For more info on METHOD, see `f--date-compare'."
  (= (f--date-compare file other method) 0))