Function: projectile-keep-project-p

projectile-keep-project-p is a byte-compiled function defined in projectile.el.

Signature

(projectile-keep-project-p PROJECT)

Documentation

Determine whether we should cleanup (remove) PROJECT or not.

It handles the case of remote projects as well. See projectile--cleanup-known-projects.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-keep-project-p (project)
  "Determine whether we should cleanup (remove) PROJECT or not.

It handles the case of remote projects as well.
See `projectile--cleanup-known-projects'."
  ;; Taken from `recentf-keep-default-predicate'
  (cond
   ((file-remote-p project nil t) (file-readable-p project))
   ((file-remote-p project))
   ((file-readable-p project))))