Function: cider-ns--reload-op

cider-ns--reload-op is a byte-compiled function defined in cider-ns.el.

Signature

(cider-ns--reload-op OP-NAME)

Documentation

Return the reload operation to use.

Based on OP-NAME and the value of cider-ns-code-reload-tool defcustom.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-ns.el
(defun cider-ns--reload-op (op-name)
  "Return the reload operation to use.
Based on OP-NAME and the value of cider-ns-code-reload-tool defcustom."
  (if (eq cider-ns-code-reload-tool 'tools.namespace)
      (cond ((string= op-name "reload")       "refresh")
            ((string= op-name "reload-all")   "refresh-all")
            ((string= op-name "reload-clear") "refresh-clear"))

    (cond ((string= op-name "reload")       "cider.clj-reload/reload")
          ((string= op-name "reload-all")   "cider.clj-reload/reload-all")
          ((string= op-name "reload-clear") "cider.clj-reload/reload-clear"))))