Function: projectile--global-ignore-regexp-p

projectile--global-ignore-regexp-p is a byte-compiled function defined in projectile.el.

Signature

(projectile--global-ignore-regexp-p PATH)

Documentation

Return non-nil when PATH matches projectile-globally-ignored-file-regexps.

PATH is an absolute file name. Those patterns are Emacs regexps rather than globs, which is why they are a separate mechanism from the ignore patterns proper; matching is case-sensitive.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--global-ignore-regexp-p (path)
  "Return non-nil when PATH matches `projectile-globally-ignored-file-regexps'.
PATH is an absolute file name.  Those patterns are Emacs regexps rather
than globs, which is why they are a separate mechanism from the ignore
patterns proper; matching is case-sensitive."
  (seq-some (lambda (re) (let ((case-fold-search nil))
                           (string-match-p re path)))
            projectile-globally-ignored-file-regexps))