Function: projectile--alien-apply-ignores

projectile--alien-apply-ignores is a byte-compiled function defined in projectile.el.

Signature

(projectile--alien-apply-ignores PROJECT-ROOT VCS FILES)

Documentation

Apply PROJECT-ROOT's ignore rules to the alien listing FILES.

Does nothing when the external command for VCS already excluded them itself, which is the fast path (see projectile--alien-exclude-args).

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--alien-apply-ignores (project-root vcs files)
  "Apply PROJECT-ROOT's ignore rules to the alien listing FILES.
Does nothing when the external command for VCS already excluded them
itself, which is the fast path (see `projectile--alien-exclude-args')."
  (if (projectile--alien-command-excludes-p
       vcs (projectile-get-ext-command vcs project-root) project-root)
      files
    (projectile--maybe-remove-ignored project-root files)))