Function: consult-locate
consult-locate is an autoloaded, interactive and byte-compiled
function defined in consult.el.
Signature
(consult-locate &optional INITIAL)
Documentation
Search with locate for files which match input given INITIAL input.
The input is treated literally such that locate can take advantage of
the locate database index. Regular expressions would often force a slow
linear search through the entire database. The locate process is started
asynchronously, similar to consult-grep. See consult-grep for more
details regarding the asynchronous search.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
;;;###autoload
(defun consult-locate (&optional initial)
"Search with `locate' for files which match input given INITIAL input.
The input is treated literally such that locate can take advantage of
the locate database index. Regular expressions would often force a slow
linear search through the entire database. The locate process is started
asynchronously, similar to `consult-grep'. See `consult-grep' for more
details regarding the asynchronous search."
(interactive)
(find-file (consult--find "Locate: " #'consult--locate-builder initial)))