Function: hywiki-directory-get-mod-time
hywiki-directory-get-mod-time is a byte-compiled function defined in
hywiki.el.
Signature
(hywiki-directory-get-mod-time)
Documentation
Return the last page file mod time for hywiki-directory or 0.
Page file deletion is handled by a checksum over the set of HyWiki pages, which is verified before this mod-time check.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20261030.2317/hywiki.el
(defun hywiki-directory-get-mod-time ()
"Return the last page file mod time for `hywiki-directory' or 0.
Page file deletion is handled by a checksum over the set of
HyWiki pages, which is verified before this mod-time check."
(if (not (file-readable-p hywiki-directory))
0
(let* ((default-directory (expand-file-name (hpath:expand hywiki-directory)))
(page-files (hywiki-get-page-files))
(max-page-mod-time (if page-files
(truncate
(apply #'max (mapcar (lambda (f)
(float-time (file-attribute-modification-time
(file-attributes f))))
page-files)))
0)))
max-page-mod-time)))