Function: projectile-get-other-files
projectile-get-other-files is a byte-compiled function defined in
projectile.el.
Signature
(projectile-get-other-files FILE-NAME &optional FLEX-MATCHING)
Documentation
Return a list of other files for FILE-NAME.
The list depends on :related-files-fn project option and
projectile-other-file-alist. For the latter, FLEX-MATCHING can be used
to match any basename.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-get-other-files (file-name &optional flex-matching)
"Return a list of other files for FILE-NAME.
The list depends on `:related-files-fn' project option and
`projectile-other-file-alist'. For the latter, FLEX-MATCHING can be used
to match any basename."
(if-let* ((plist (projectile--related-files-plist-by-kind file-name :other)))
(projectile--related-files-from-plist plist)
(projectile--other-extension-files file-name
(projectile-current-project-files)
flex-matching)))