Function: org-roam-db--get-current-files

org-roam-db--get-current-files is a byte-compiled function defined in org-roam-db.el.

Signature

(org-roam-db--get-current-files)

Documentation

Return a hash-table of file to the hash of its file contents.

Source Code

;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-db.el
;;;; Fetching
(defun org-roam-db--get-current-files ()
  "Return a hash-table of file to the hash of its file contents."
  (let ((current-files (org-roam-db-query [:select [file hash] :from files]))
        (ht (make-hash-table :test #'equal)))
    (dolist (row current-files)
      (puthash (car row) (cadr row) ht))
    ht))