Function: projectile-maybe-invalidate-cache

projectile-maybe-invalidate-cache is a byte-compiled function defined in projectile.el.

Signature

(projectile-maybe-invalidate-cache FORCE)

Documentation

Invalidate if FORCE or project's dirconfig newer than cache.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-maybe-invalidate-cache (force)
  "Invalidate if FORCE or project's dirconfig newer than cache."
  (when (or force (file-newer-than-file-p (projectile-dirconfig-file)
                                          (projectile-project-cache-file)))
    (projectile-invalidate-cache nil)))