Function: projectile-project-subprojects

projectile-project-subprojects is a byte-compiled function defined in projectile.el.

Signature

(projectile-project-subprojects &optional PROJECT-ROOT)

Documentation

Return the subprojects of the project at PROJECT-ROOT.

A subproject is a part of a monorepo that has a project of its own - a crate, a package, a module. The result is a sorted list of directory names relative to the root, each ending in a slash.

Where the list comes from is projectile-subproject-functions: by default the workspace manifest if there is one Projectile can read, and otherwise a scan for manifests.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-project-subprojects (&optional project-root)
  "Return the subprojects of the project at PROJECT-ROOT.

A subproject is a part of a monorepo that has a project of its own - a
crate, a package, a module.  The result is a sorted list of directory
names relative to the root, each ending in a slash.

Where the list comes from is `projectile-subproject-functions': by
default the workspace manifest if there is one Projectile can read, and
otherwise a scan for manifests."
  (let ((root (or project-root (projectile-acquire-root))))
    (run-hook-with-args-until-success 'projectile-subproject-functions root)))