Function: projectile-known-projects

projectile-known-projects is a byte-compiled function defined in projectile.el.

Signature

(projectile-known-projects)

Documentation

Initialize the known projects.

This might potentially clean up redundant projects and discover new ones if projectile-auto-cleanup-known-projects or projectile-auto-discover-projects are enabled.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-known-projects ()
  "Initialize the known projects.

This might potentially clean up redundant projects and discover new ones
if `projectile-auto-cleanup-known-projects' or
`projectile-auto-discover-projects' are enabled."
  ;; load the known projects
  (unless projectile-known-projects
    (projectile-load-known-projects))
  (when projectile-auto-cleanup-known-projects
    (projectile--cleanup-known-projects))
  (when (and projectile-auto-discover-projects
             projectile-project-search-path
             (not projectile--search-path-discovered))
    (projectile-discover-projects-in-search-path))
  ;; return the list of known projects
  projectile-known-projects)