Function: f-newer-p
f-newer-p is a byte-compiled function defined in f.el.
Signature
(f-newer-p FILE OTHER &optional METHOD)
Documentation
Compare if FILE is newer than OTHER.
For more info on METHOD, see f--date-compare.
Other relevant functions are documented in the f group.
Shortdoc
;; f
(f-newer-p "newer-file.txt" "older-file.txt")
=> t
(f-newer-p "older-file.txt" "newer-file.txt")
=> nil
(f-newer-p "same-time1.txt" "same-time2.txt")
=> nil
Aliases
Source Code
;; Defined in ~/.emacs.d/elpa/f-20241003.1131/f.el
(defun f-newer-p (file other &optional method)
"Compare if FILE is newer than OTHER.
For more info on METHOD, see `f--date-compare'."
(> (f--date-compare file other method) 0))