Function: projectile-get-sub-projects-files

projectile-get-sub-projects-files is a byte-compiled function defined in projectile.el.

Signature

(projectile-get-sub-projects-files PROJECT-ROOT VCS)

Documentation

Get files from sub-projects for PROJECT-ROOT recursively.

VCS is the version control system of the project.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-get-sub-projects-files (project-root vcs)
  "Get files from sub-projects for PROJECT-ROOT recursively.
VCS is the version control system of the project."
  (flatten-tree
   (mapcar (lambda (sub-project)
             (let ((project-relative-path
                    (file-name-as-directory (file-relative-name
                                             sub-project project-root))))
               (mapcar (lambda (file)
                         (concat project-relative-path file))
                       (projectile-files-via-ext-command sub-project (projectile-get-ext-command vcs)))))
           (projectile-get-all-sub-projects project-root))))