Function: org-roam-db-autosync--vc-delete-file-a
org-roam-db-autosync--vc-delete-file-a is a byte-compiled function
defined in org-roam-db.el.
Signature
(org-roam-db-autosync--vc-delete-file-a FUN FILE)
Documentation
Maintain cache consistency on file deletion by FUN.
FILE is removed from the database.
Source Code
;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-db.el
(defun org-roam-db-autosync--vc-delete-file-a (fun file)
"Maintain cache consistency on file deletion by FUN.
FILE is removed from the database."
(let ((org-roam-file-p (and (not (auto-save-file-name-p file))
(not (backup-file-name-p file))
(org-roam-file-p file))))
(apply fun `(,file))
(when (and org-roam-file-p
(not (file-exists-p file)))
(org-roam-db-clear-file (expand-file-name file)))))