Function: f-glob

f-glob is a byte-compiled function defined in f.el.

Signature

(f-glob PATTERN &optional PATH)

Documentation

Find PATTERN in PATH.

Other relevant functions are documented in the f group.

Shortdoc

;; f
(f-glob "path/to/*.el")
    -> [it depends]
  (f-glob "*.el" "path/to")
    -> [it depends]

Source Code

;; Defined in ~/.emacs.d/elpa/f-20241003.1131/f.el
(defun f-glob (pattern &optional path)
  "Find PATTERN in PATH."
  (file-expand-wildcards
   (f-join (or path default-directory) pattern)))