Function: projectile--subproject-markers

projectile--subproject-markers is a byte-compiled function defined in projectile.el.

Signature

(projectile--subproject-markers)

Documentation

Return the file names that mark a subproject.

See projectile-subproject-markers.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--subproject-markers ()
  "Return the file names that mark a subproject.
See `projectile-subproject-markers'."
  (or projectile-subproject-markers
      (let (markers)
        (dolist (record projectile-project-types)
          (dolist (file (ensure-list (plist-get (cdr record) 'project-file)))
            (when (and (stringp file)
                       ;; A wildcard would have to be expanded per
                       ;; directory, and a name with a directory component
                       ;; (`debian/control') isn't a plain marker.
                       (not (projectile--wildcard-p file))
                       (not (string-search "/" file))
                       (not (member file markers)))
              (push file markers))))
        markers)))