Function: projectile-dir-files-native
projectile-dir-files-native is a byte-compiled function defined in
projectile.el.
Signature
(projectile-dir-files-native DIRECTORY)
Documentation
Get the files under DIRECTORY using just Emacs Lisp.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
;;; Native Project Indexing
;;
;; This corresponds to `projectile-indexing-method' being set to native.
(defun projectile-dir-files-native (directory)
"Get the files under DIRECTORY using just Emacs Lisp."
(let ((progress-reporter
(make-progress-reporter
(format "Projectile is indexing %s"
(propertize directory 'face 'font-lock-keyword-face)))))
;; we need the files with paths relative to the project root
(mapcar (lambda (file) (file-relative-name file directory))
(projectile-index-directory directory (projectile-filtering-patterns)
progress-reporter))))