Function: projectile--related-files-plist
projectile--related-files-plist is a byte-compiled function defined in
projectile.el.
Signature
(projectile--related-files-plist PROJECT-ROOT FILE)
Documentation
Return a plist containing all related files information for FILE.
PROJECT-ROOT is the project root.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile--related-files-plist (project-root file)
"Return a plist containing all related files information for FILE.
PROJECT-ROOT is the project root."
(if-let* ((rel-path (if (file-name-absolute-p file)
(file-relative-name file project-root)
file))
(custom-function (funcall projectile-related-files-fn-function (projectile-project-type))))
(funcall (cond ((functionp custom-function)
custom-function)
((consp custom-function)
(projectile--merge-related-files-fns custom-function))
(t
(error "Unsupported value type of :related-files-fn")))
rel-path)))