Function: projectile--ext-command-output-files
projectile--ext-command-output-files is a byte-compiled function
defined in projectile.el.
Signature
(projectile--ext-command-output-files)
Documentation
Parse an indexing command's stdout in the current buffer into a file list.
Splits the output on NUL, drops empty records, and strips a leading
"./" from each path. Shared by projectile-files-via-ext-command and
its asynchronous counterpart so both produce identical results.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--ext-command-output-files ()
"Parse an indexing command's stdout in the current buffer into a file list.
Splits the output on NUL, drops empty records, and strips a leading
\"./\" from each path. Shared by `projectile-files-via-ext-command' and
its asynchronous counterpart so both produce identical results."
(let ((shell-output (buffer-substring (point-min) (point-max))))
(mapcar (lambda (f)
(string-remove-prefix "./" f))
(split-string (string-trim shell-output) "\0" t))))