Function: projectile-add-unignored

projectile-add-unignored is a byte-compiled function defined in projectile.el.

Signature

(projectile-add-unignored PROJECT VCS FILES)

Documentation

This adds unignored files to FILES.

Useful because the VCS may not return ignored files at all. In this case unignored files will be absent from FILES.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-add-unignored (project vcs files)
  "This adds unignored files to FILES.

Useful because the VCS may not return ignored files at all.  In
this case unignored files will be absent from FILES."
  (let ((unignored-files (projectile-keep-ignored-files
                          project
                          vcs
                          (projectile-unignored-files-rel)))
        (unignored-paths (projectile-remove-ignored
                          (projectile-keep-ignored-directories
                           project
                           vcs
                           (projectile-unignored-directories-rel)))))
    (append files unignored-files unignored-paths)))