Function: projectile-dashboard--links
projectile-dashboard--links is a byte-compiled function defined in
projectile.el.
Signature
(projectile-dashboard--links ROOT TYPE)
Documentation
Return the notable files of the project at ROOT of TYPE, as relative names.
Answered from a single listing of the project root, so this costs one
directory-files\= however many names are looked for.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-dashboard--links (root type)
"Return the notable files of the project at ROOT of TYPE, as relative names.
Answered from a single listing of the project root, so this costs one
`directory-files\\=' however many names are looked for."
(when-let* ((entries (projectile--directory-entry-set root)))
(let ((found nil))
;; The docs a human looks for, matched without their extension.
(dolist (base projectile-dashboard-link-files)
(when-let* ((hit (seq-find
(lambda (entry)
(string-equal (downcase base)
(downcase (file-name-base entry))))
(sort (hash-table-keys entries) #'string<))))
(push hit found)))
;; The project\\='s own manifest, and its Projectile configuration.
(dolist (name (append (ensure-list
(projectile-project-type-attribute type 'project-file))
(list projectile-dirconfig-file ".dir-locals.el")))
(when (and (stringp name)
(not (projectile--wildcard-p name))
(gethash name entries)
(not (member name found)))
(push name found)))
(nreverse found))))