Function: org-roam-db--file-hash
org-roam-db--file-hash is a natively compiled function defined in
org-roam-db.el.
Signature
(org-roam-db--file-hash FILE-PATH)
Documentation
Compute the hash of FILE-PATH.
Source Code
;; Defined in /nix/store/60hpqw2cczhjli65ml5v1p4g0q2kbyhb-emacs-packages-deps/share/emacs/site-lisp/elpa/org-roam-20260425.1623/org-roam-db.el
(defun org-roam-db--file-hash (file-path)
"Compute the hash of FILE-PATH."
(with-temp-buffer
(set-buffer-multibyte nil)
(insert-file-contents-literally file-path)
(secure-hash 'sha1 (current-buffer))))