Function: projectile--restricted-sub-projects-files

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

Signature

(projectile--restricted-sub-projects-files PROJECT-ROOT VCS SUBDIRS)

Documentation

Return git submodule files under PROJECT-ROOT, optionally restricted to SUBDIRS.

SUBDIRS is a list of paths relative to PROJECT-ROOT; when non-nil only files whose project-relative path starts with one of those subdirectories are returned. When nil, behaves exactly like projectile-get-sub-projects-files.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--restricted-sub-projects-files (project-root vcs subdirs)
  "Return git submodule files under PROJECT-ROOT, optionally restricted to SUBDIRS.
SUBDIRS is a list of paths relative to PROJECT-ROOT; when non-nil
only files whose project-relative path starts with one of those
subdirectories are returned.  When nil, behaves exactly like
`projectile-get-sub-projects-files'."
  (projectile--restrict-to-subdirs
   (projectile-get-sub-projects-files project-root vcs) subdirs))