Variable: projectile--project-cache-cleanups

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

Value

Large value
((projectile-repo-identity-cache
  . #[257 "\301\"\207" [projectile-repo-identity-cache remhash] 4
	  ("/root/.emacs.d/elpa/projectile-20260820.1509/projectile.elc"
	   . 36848)])
 (projectile-project-cache-file
  . #[257 "\301=\205�\302!\303!\205�\304!\262\207"
	  [projectile-enable-caching persistent
				     projectile-project-cache-file
				     file-exists-p delete-file]
	  4
	  ("/root/.emacs.d/elpa/projectile-20260820.1509/projectile.elc"
	   . 36848)])
 (projectile--project-watches
  . #[257 "\300!\207" [projectile--unwatch-project] 3
	  ("/root/.emacs.d/elpa/projectile-20260820.1509/projectile.elc"
	   . 36848)])
 (projectile--pending-cache-flush-timers
  . #[257 "\301\"\211\205�\302!\210\303\"\207"
	  [projectile--pending-cache-flush-timers gethash cancel-timer
						  remhash]
	  5
	  ("/root/.emacs.d/elpa/projectile-20260820.1509/projectile.elc"
	   . 36848)])
 (projectile--git-submodules-cache
  . #[257
      "\301C\302\303\304\"\"\210\262\242\211\205%�\211@\305\"\203 �\306\"\210\210A\202�\207"
      [projectile--git-submodules-cache nil maphash make-closure
					#[514
					  "\300\300\242B\240\207"
					  [V0] 5
					  ("/nix/store/g9awsiwsy0cqwj6a6hb6x6423d8fdbf1-emacs-snapshot/share/emacs/32.0.50/lisp/emacs-lisp/subr-x.elc"
					   . 1894)]
					string-prefix-p remhash]
      7
      ("/root/.emacs.d/elpa/projectile-20260820.1509/projectile.elc"
       . 36848)])
 (projectile--dirconfig-cache
  . #[257 "\301\"\207" [projectile--dirconfig-cache remhash] 4
	  ("/root/.emacs.d/elpa/projectile-20260820.1509/projectile.elc"
	   . 36848)])
 (projectile-project-vcs-cache
  . #[257 "\301\"\207" [projectile-project-vcs-cache remhash] 4
	  ("/root/.emacs.d/elpa/projectile-20260820.1509/projectile.elc"
	   . 36848)])
 (projectile-project-type-cache
  . #[257
      "\301C\302\303\304\"\"\210\262\242\211\205%�\211@\305\"\203 �\306\"\210\210A\202�\207"
      [projectile-project-type-cache nil maphash make-closure
				     #[514 "\300\300\242B\240\207"
					   [V0] 5
					   ("/nix/store/g9awsiwsy0cqwj6a6hb6x6423d8fdbf1-emacs-snapshot/share/emacs/32.0.50/lisp/emacs-lisp/subr-x.elc"
					    . 1894)]
				     string-prefix-p remhash]
      7
      ("/root/.emacs.d/elpa/projectile-20260820.1509/projectile.elc"
       . 36848)])
 (projectile--async-index-processes
  . #[257
      "\301\"\211\205�\302!\203�\303!\210\304\"\207"
      [projectile--async-index-processes gethash process-live-p
					 delete-process remhash]
      5
      ("/root/.emacs.d/elpa/projectile-20260820.1509/projectile.elc"
       . 36848)])
 (projectile-projects-cache-time
  . #[257 "\301\"\207" [projectile-projects-cache-time remhash] 4
	  ("/root/.emacs.d/elpa/projectile-20260820.1509/projectile.elc"
	   . 36848)])
 (projectile-projects-cache
  . #[257 "\301\"\207" [projectile-projects-cache remhash] 4
	  ("/root/.emacs.d/elpa/projectile-20260820.1509/projectile.elc"
	   . 36848)]))

Documentation

Alist of NAME to cleanup function, run when a project is invalidated.

Each function is called with the project root being invalidated. Keyed by name so that reloading projectile doesn't accumulate duplicate cleanups.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defvar projectile--project-cache-cleanups nil
  "Alist of NAME to cleanup function, run when a project is invalidated.
Each function is called with the project root being invalidated.
Keyed by name so that reloading projectile doesn't accumulate
duplicate cleanups.")