Function: projectile-doctor--excluded-entries
projectile-doctor--excluded-entries is a byte-compiled function
defined in projectile.el.
Signature
(projectile-doctor--excluded-entries ROOT PATTERNS)
Documentation
Return ROOT's immediate entries excluded by the ignore PATTERNS.
Directories are returned with a trailing slash, the way the patterns match them.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-doctor--excluded-entries (root patterns)
"Return ROOT's immediate entries excluded by the ignore PATTERNS.
Directories are returned with a trailing slash, the way the patterns
match them."
(when-let* ((re (projectile--compile-ignore-patterns patterns))
(entries (ignore-errors
(directory-files
root t directory-files-no-dot-files-regexp))))
(let ((case-fold-search nil))
(delq nil
(mapcar (lambda (entry)
(let ((rel (concat (file-name-nondirectory entry)
(if (file-directory-p entry) "/" ""))))
(and (string-match-p re rel) rel)))
entries)))))