Function: cider--list-as-lein-artifact

cider--list-as-lein-artifact is a byte-compiled function defined in cider.el.

Signature

(cider--list-as-lein-artifact LIST &optional EXCLUSIONS)

Documentation

Return an artifact string described by the elements of LIST.

LIST should have the form (ARTIFACT-NAME ARTIFACT-VERSION). Optionally a list of EXCLUSIONS can be provided as well. The returned string is quoted for passing as argument to an inferior shell.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider.el
(defun cider--list-as-lein-artifact (list &optional exclusions)
  "Return an artifact string described by the elements of LIST.
LIST should have the form (ARTIFACT-NAME ARTIFACT-VERSION).  Optionally a list
of EXCLUSIONS can be provided as well.  The returned
string is quoted for passing as argument to an inferior shell."
  (shell-quote-argument (format "[%s %S%s]" (car list) (cadr list) (cider--lein-artifact-exclusions exclusions))))