Function: projection--list-cache-vars
projection--list-cache-vars is a natively compiled function defined in
projection-core-cache.el.
Signature
(projection--list-cache-vars PROJECT)
Documentation
Fetch a list of cache-vars and properties for PROJECT.
The result of this is intended to be used in a completing-read interface.
Source Code
;; Defined in /nix/store/j6y921qbdmdqxjnd43iibapbig3p4hai-emacs-packages-deps/share/emacs/site-lisp/elpa/projection-20260614.1822/projection-core-cache.el
;; Interactive commands for clearing projection cache variables.
(defun projection--list-cache-vars (project)
"Fetch a list of cache-vars and properties for PROJECT.
The result of this is intended to be used in a `completing-read' interface."
(let (result)
(dolist (cache-config (reverse projection--cache-var-alist))
(cl-destructuring-bind (&key title category hide cache-var &allow-other-keys)
(cdr cache-config)
(when-let* ((cache (and (boundp cache-var)
(symbol-value cache-var))))
(let ((value (projection--cache-get project (car cache-config) cache)))
(when (or (not hide) value)
(push (list title category value (car cache-config) cache) result))))))
(nreverse result)))