Function: projectile--find-dir
projectile--find-dir is a byte-compiled function defined in
projectile.el.
Signature
(projectile--find-dir INVALIDATE-CACHE &optional DIRED-VARIANT)
Documentation
Jump to a project's directory using completion.
With INVALIDATE-CACHE invalidates the cache first. With DIRED-VARIANT set to a
defun, use that instead of dired. A typical example of such a defun would be
dired-other-window or dired-other-frame
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
;;;; Find directory in project functionality
(defun projectile--find-dir (invalidate-cache &optional dired-variant)
"Jump to a project's directory using completion.
With INVALIDATE-CACHE invalidates the cache first. With DIRED-VARIANT set to a
defun, use that instead of `dired'. A typical example of such a defun would be
`dired-other-window' or `dired-other-frame'"
(projectile-maybe-invalidate-cache invalidate-cache)
(let* ((project (projectile-acquire-root))
(dir (projectile-complete-dir project))
(dired-v (or dired-variant #'dired)))
(funcall dired-v (expand-file-name dir project))
(run-hooks 'projectile-find-dir-hook)))