Function: org-publish-cache-mtime-of-src

org-publish-cache-mtime-of-src is a byte-compiled function defined in ox-publish.el.gz.

Signature

(org-publish-cache-mtime-of-src FILE)

Documentation

Get the mtime of FILE as an integer.

Aliases

org-publish-cache-ctime-of-src (obsolete since 9.6)

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-publish.el.gz
(defun org-publish-cache-mtime-of-src (file)
  "Get the mtime of FILE as an integer."
  (let ((attr (file-attributes
	       (expand-file-name (or (file-symlink-p file) file)
				 (file-name-directory file)))))
    (if attr (file-attribute-modification-time attr)
      (error "No such file: %S" file))))