Function: projectile-verify-files
projectile-verify-files is a byte-compiled function defined in
projectile.el.
Signature
(projectile-verify-files FILES &optional DIR ENTRY-SET)
Documentation
Check whether all FILES exist in the project.
An element of FILES may also be an alternatives clause of the form
(:any FILE...), which is satisfied when any one of its FILEs exists.
When DIR is specified it checks DIR's project, otherwise
it acts on the current project. ENTRY-SET, when non-nil, is a hash set
of the project root's immediate entries (see
projectile--directory-entry-set) used to answer plain-name FILES
without a filesystem round-trip each.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-verify-files (files &optional dir entry-set)
"Check whether all FILES exist in the project.
An element of FILES may also be an alternatives clause of the form
\(:any FILE...), which is satisfied when any one of its FILEs exists.
When DIR is specified it checks DIR's project, otherwise
it acts on the current project. ENTRY-SET, when non-nil, is a hash set
of the project root's immediate entries (see
`projectile--directory-entry-set') used to answer plain-name FILES
without a filesystem round-trip each."
(seq-every-p (lambda (alternatives)
(seq-some (lambda (file)
(projectile-verify-file file dir entry-set))
alternatives))
(projectile--marker-clauses files)))