Function: projectile-fd-executable-for

projectile-fd-executable-for is a byte-compiled function defined in projectile.el.

Signature

(projectile-fd-executable-for DIRECTORY)

Documentation

Return the fd executable to use for DIRECTORY.

For local directories returns projectile-fd-executable. For remote directories looks up fd/fdfind on the remote (cached per host) and returns the bare program name, or nil when fd is not available there.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-fd-executable-for (directory)
  "Return the fd executable to use for DIRECTORY.
For local directories returns `projectile-fd-executable'.  For remote
directories looks up `fd'/`fdfind' on the remote (cached per host) and
returns the bare program name, or nil when fd is not available there."
  (if-let* ((remote (file-remote-p directory)))
      (projectile--remote-fd-executable remote)
    projectile-fd-executable))