Function: projection--cache-modtime-predicate
projection--cache-modtime-predicate is a natively compiled function
defined in projection-core-cache.el.
Signature
(projection--cache-modtime-predicate &rest FILES)
Documentation
Helper function to get the largest modtime of a series of files.
Will loop through each file in FILES and return the one with the most recent
modtime. If any files don't exist then they are expected to be regenerated
and will be set to having a modtime of current-time.
Source Code
;; Defined in /nix/store/j6y921qbdmdqxjnd43iibapbig3p4hai-emacs-packages-deps/share/emacs/site-lisp/elpa/projection-20260614.1822/projection-core-cache.el
(defun projection--cache-modtime-predicate (&rest files)
"Helper function to get the largest modtime of a series of files.
Will loop through each file in FILES and return the one with the most recent
modtime. If any files don't exist then they are expected to be regenerated
and will be set to having a modtime of `current-time'."
(cl-assert (> (length files) 0) nil "Must supply at least one file. files=%s" files)
(cl-loop for file in files
with current-modtime = nil
if (file-exists-p file)
do (setq current-modtime (projection--cache-file-modtime file))
else
do (setq current-modtime (projection--cache-now))
maximize current-modtime))