Function: projectile--ensure-patterns

projectile--ensure-patterns is a byte-compiled function defined in projectile.el.

Signature

(projectile--ensure-patterns &optional ROOT)

Documentation

Return ROOT's ensure rules as a list of gitignore-style patterns.

These are the ! entries of the project's dirconfig; a path they match is kept even when projectile--ignore-patterns also matches it.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--ensure-patterns (&optional root)
  "Return ROOT's ensure rules as a list of gitignore-style patterns.
These are the `!' entries of the project's dirconfig; a path they match
is kept even when `projectile--ignore-patterns' also matches it."
  (projectile--dirconfig-ensure root))