Function: projectile-check-pattern-p

projectile-check-pattern-p is a byte-compiled function defined in projectile.el.

Signature

(projectile-check-pattern-p FILE PATTERN)

Documentation

Check if FILE matches globbing PATTERN.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-check-pattern-p (file pattern)
  "Check if FILE matches globbing PATTERN."
  (or (string-suffix-p (directory-file-name pattern)
                       (directory-file-name file))
      (member file (file-expand-wildcards pattern t))))