Function: projectile-doctor--files-string

projectile-doctor--files-string is a byte-compiled function defined in projectile.el.

Signature

(projectile-doctor--files-string DATA)

Documentation

Return the file-count line of the report DATA.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-doctor--files-string (data)
  "Return the file-count line of the report DATA."
  (pcase (plist-get data :files-source)
    ('cache (format "%d (from the cache)" (plist-get data :file-count)))
    ('fresh (format "%d (fresh index, %.2fs - not cached by the doctor)"
                    (plist-get data :file-count)
                    (plist-get data :index-time)))
    ('skipped "not indexed (skipped for a remote project)")
    ('error (format "indexing failed: %s" (plist-get data :files-error)))
    (_ "n/a")))