Function: projectile-sibling-projects
projectile-sibling-projects is a byte-compiled function defined in
projectile.el.
Signature
(projectile-sibling-projects &optional PROJECT-ROOT)
Documentation
Return the projects related to PROJECT-ROOT, including itself.
Every function in projectile-sibling-project-functions is consulted in
turn and their results concatenated, de-duplicated by resolved path, so
the ordering runs from the most trustworthy signal to the least. The
projects come back in the spelling the other switch commands use.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-sibling-projects (&optional project-root)
"Return the projects related to PROJECT-ROOT, including itself.
Every function in `projectile-sibling-project-functions' is consulted in
turn and their results concatenated, de-duplicated by resolved path, so
the ordering runs from the most trustworthy signal to the least. The
projects come back in the spelling the other switch commands use."
(let* ((root (or project-root (projectile-acquire-root)))
;; Walk the known projects once for all the signal functions.
(projectile--sibling-project-pool (projectile--sibling-candidate-projects)))
(mapcar #'projectile--known-project-root
(projectile--collect-from-functions
projectile-sibling-project-functions root
#'projectile--directory-key "Sibling"))))