Variable: projectile-project-root-files-top-down-recurring

projectile-project-root-files-top-down-recurring is a customizable variable defined in projectile.el.

Value

(".svn" "CVS" "Makefile")

Documentation

A list of files considered to mark the root of a project.

The search starts at the top and descends down till a directory that contains a match file but its parent does not. Thus, it's a bottommost match in the topmost sequence of directories containing a root file.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defcustom projectile-project-root-files-top-down-recurring
  '(".svn" ; Svn VCS root dir
    "CVS"  ; CVS VCS root dir
    "Makefile")
  "A list of files considered to mark the root of a project.
The search starts at the top and descends down till a directory
that contains a match file but its parent does not.  Thus, it's a
bottommost match in the topmost sequence of directories
containing a root file."
  :group 'projectile
  :type '(repeat string))