Function: org-roam--shell-command-files

org-roam--shell-command-files is a byte-compiled function defined in org-roam.el.

Signature

(org-roam--shell-command-files CMD)

Documentation

Run CMD in the shell and return a list of files.

If no files are found, an empty list is returned.

Source Code

;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam.el
(defun org-roam--shell-command-files (cmd)
  "Run CMD in the shell and return a list of files.
If no files are found, an empty list is returned."
  (thread-last cmd
               shell-command-to-string
               ansi-color-filter-apply
               (funcall (lambda (str) (split-string str "\n")))
               (seq-filter (lambda (s)
                             (not (or (null s) (string= "" s)))))))