Function: projectile-doctor--index-command

projectile-doctor--index-command is a byte-compiled function defined in projectile.el.

Signature

(projectile-doctor--index-command ROOT VCS)

Documentation

Return the external indexing command Projectile would run in ROOT.

VCS is the project's version-control system. Returns nil under the native indexing method, which shells out to nothing.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-doctor--index-command (root vcs)
  "Return the external indexing command Projectile would run in ROOT.
VCS is the project's version-control system.  Returns nil under the
`native' indexing method, which shells out to nothing."
  (unless (eq projectile-indexing-method 'native)
    (let ((default-directory root))
      (ignore-errors (projectile--alien-ext-command vcs root)))))