Function: projectile-project-type
projectile-project-type is a byte-compiled function defined in
projectile.el.
Signature
(projectile-project-type &optional DIR)
Documentation
Determine a project's type based on its structure.
When DIR is specified it checks it, otherwise it acts on the current project.
The project type is cached for improved performance.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-project-type (&optional dir)
"Determine a project's type based on its structure.
When DIR is specified it checks it, otherwise it acts
on the current project.
The project type is cached for improved performance."
(or (and (not dir) projectile-project-type)
(if-let* ((project-root (projectile-project-root dir)))
(or (gethash project-root projectile-project-type-cache)
(projectile-detect-project-type dir project-root)))))