Function: cider-ns-load-cache

cider-ns-load-cache is a byte-compiled function defined in cider-client.el.

Signature

(cider-ns-load-cache &optional REPL)

Documentation

Return the track-state namespace cache dict for REPL, or nil.

REPL defaults to the current connection (function cider-current-repl). This is the low-level accessor for cider-repl-ns-cache - a buffer-local in the REPL buffer kept up to date by the track-state middleware. Readers layer their own policy (membership, full-dict lookup, the unknown-versus-not- loaded distinction) on top of this single access point.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-client.el
(defvar cider-repl-ns-cache) ; defined in cider-repl.el, populated by track-state

(defun cider-ns-load-cache (&optional repl)
  "Return the track-state namespace cache dict for REPL, or nil.
REPL defaults to the current connection (function `cider-current-repl').
This is the low-level accessor for `cider-repl-ns-cache' - a buffer-local
in the REPL buffer kept up to date by the track-state middleware.  Readers
layer their own policy (membership, full-dict lookup, the unknown-versus-not-
loaded distinction) on top of this single access point."
  (when-let* ((repl (or repl (cider-current-repl))))
    (buffer-local-value 'cider-repl-ns-cache repl)))