Function: projectile--invalidate-project-cache

projectile--invalidate-project-cache is a byte-compiled function defined in projectile.el.

Signature

(projectile--invalidate-project-cache PROJECT-ROOT)

Documentation

Drop all of Projectile's per-project caches for PROJECT-ROOT.

Runs every cleanup in projectile--project-cache-cleanups: the tables defined via projectile-define-project-cache plus the ad-hoc cleanups (cancelling in-flight background indexing and pending cache flushes, removing file-notify watches, deleting the on-disk cache file).

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--invalidate-project-cache (project-root)
  "Drop all of Projectile's per-project caches for PROJECT-ROOT.

Runs every cleanup in `projectile--project-cache-cleanups': the
tables defined via `projectile-define-project-cache' plus the ad-hoc
cleanups (cancelling in-flight background indexing and pending cache
flushes, removing file-notify watches, deleting the on-disk cache
file)."
  (dolist (entry projectile--project-cache-cleanups)
    (funcall (cdr entry) project-root)))