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 "\n\n(fn PROJECT-ROOT)"])
 (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 "\n\n(fn PROJECT-ROOT)"])
 (projectile--project-watches .
			      #[257 "\300!\207"
				    [projectile--unwatch-project]
				    3 "\n\n(fn PROJECT-ROOT)"])
 (projectile--pending-cache-flush-timers .
					 #[257 "\301\"\211\205�\302!\210\303\"\207"
					       [projectile--pending-cache-flush-timers gethash cancel-timer remhash]
					       5 "\n\n(fn PROJECT-ROOT)"])
 (projectile--git-submodules-cache .
				   #[257 "\301C\302\303\304\"\"\210\211\242\266\202\211\205(�\211@\305\"\203!�\306\"\210A\266\202\202�\207"
					 [projectile--git-submodules-cache nil maphash make-closure
									   #[514 "\300\300\242B\240\207"
										 [V0]
										 5 "\n\n(fn K _)"]
									   string-prefix-p remhash]
					 7 "\n\n(fn PROJECT-ROOT)"])
 (projectile--dirconfig-cache .
			      #[257 "\301\"\207"
				    [projectile--dirconfig-cache remhash]
				    4 "\n\n(fn PROJECT-ROOT)"])
 (projectile-project-vcs-cache .
			       #[257 "\301\"\207"
				     [projectile-project-vcs-cache remhash]
				     4 "\n\n(fn PROJECT-ROOT)"])
 (projectile-project-type-cache .
				#[257 "\301C\302\303\304\"\"\210\211\242\266\202\211\205(�\211@\305\"\203!�\306\"\210A\266\202\202�\207"
				      [projectile-project-type-cache nil maphash make-closure
								     #[514 "\300\300\242B\240\207"
									   [V0]
									   5 "\n\n(fn K _)"]
								     string-prefix-p remhash]
				      7 "\n\n(fn PROJECT-ROOT)"])
 (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 "\n\n(fn PROJECT-ROOT)"])
 (projectile-projects-cache-time .
				 #[257 "\301\"\207"
				       [projectile-projects-cache-time remhash]
				       4 "\n\n(fn PROJECT-ROOT)"])
 (projectile-projects-cache .
			    #[257 "\301\"\207"
				  [projectile-projects-cache remhash]
				  4 "\n\n(fn PROJECT-ROOT)"]))

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.")