Variable: projectile--project-cache-vars

projectile--project-cache-vars is a variable defined in projectile.el.

Value

(projectile-repo-identity-cache projectile--git-submodules-cache projectile--dirconfig-cache projectile-project-vcs-cache projectile-project-type-cache projectile-projects-cache-time projectile-projects-cache)

Documentation

Hash-table variables holding per-project caches.

Collected by projectile-define-project-cache. The test sandbox rebinds each of these to a fresh table for isolation.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;; Per-project cache registry
;;
;; Projectile keeps a growing set of per-project caches.  Every one of
;; them has to be dropped when a project is invalidated and isolated in
;; the test sandbox; forgetting either wiring is a silent bug.  Caches
;; defined through `projectile-define-project-cache' get both for free,
;; and cleanups that aren't a simple table entry (killing a process,
;; deleting a file) can be attached with
;; `projectile--register-project-cache-cleanup'.

(defvar projectile--project-cache-vars nil
  "Hash-table variables holding per-project caches.
Collected by `projectile-define-project-cache'.  The test sandbox
rebinds each of these to a fresh table for isolation.")