Function: consult-find
consult-find is an interactive and natively compiled function defined
in consult.el.
Signature
(consult-find &optional DIR INITIAL)
Documentation
Search for files with find in DIR.
The file names must match the input regexp. INITIAL is the
initial minibuffer input. See consult-grep for details
regarding the asynchronous search and the arguments.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/6higv2v1wk916v4ynnybyrdkfy2gq44d-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-20261004.957/consult.el
;;;###autoload
(defun consult-find (&optional dir initial)
"Search for files with `find' in DIR.
The file names must match the input regexp. INITIAL is the
initial minibuffer input. See `consult-grep' for details
regarding the asynchronous search and the arguments."
(interactive "P")
(pcase-let* ((`(,prompt ,paths ,dir) (consult--directory-prompt "Find" dir))
(default-directory dir)
(builder (consult--find-make-builder paths)))
(find-file (consult--find prompt builder initial))))