Function: projectile--task-file

projectile--task-file is a byte-compiled function defined in projectile.el.

Signature

(projectile--task-file PROJECT-ROOT NAME)

Documentation

Return NAME under PROJECT-ROOT when it exists as a readable file.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--task-file (project-root name)
  "Return NAME under PROJECT-ROOT when it exists as a readable file."
  (when (or (null projectile--task-entry-set)
            (gethash name projectile--task-entry-set))
    (let ((file (expand-file-name name project-root)))
      (and (file-readable-p file)
           (not (file-directory-p file))
           file))))