Function: projectile-get-project-directories
projectile-get-project-directories is a byte-compiled function defined
in projectile.el.
Signature
(projectile-get-project-directories PROJECT-DIR)
Documentation
Get the list of PROJECT-DIR directories that are of interest to the user.
When the dirconfig file has no + keep entries, return a single-
element list with PROJECT-DIR itself.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;; Project indexing
(defun projectile-get-project-directories (project-dir)
"Get the list of PROJECT-DIR directories that are of interest to the user.
When the dirconfig file has no `+' keep entries, return a single-
element list with PROJECT-DIR itself."
(let* ((cfg (projectile-parse-dirconfig-file (expand-file-name project-dir)))
(keep (and cfg (projectile-dirconfig-keep cfg))))
(if keep
(mapcar (lambda (subdir) (concat project-dir subdir)) keep)
(list project-dir))))