Function: cider-sync-request:info
cider-sync-request:info is a byte-compiled function defined in
cider-client.el.
Signature
(cider-sync-request:info SYMBOL &optional CLASS MEMBER CONTEXT)
Documentation
Send "info" op with parameters SYMBOL or CLASS and MEMBER, honor CONTEXT.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-client.el
(defun cider-sync-request:info (symbol &optional class member context)
"Send \"info\" op with parameters SYMBOL or CLASS and MEMBER, honor CONTEXT."
(let* ((req
`("op" "info"
"ns" ,(cider-current-ns)
,@(when symbol `("sym" ,symbol))
,@(when class `("class" ,class))
,@(when member `("member" ,member))
,@(when context `("context" ,context))
,@(when cider-download-java-sources `("download-sources-jar" "1"))))
(callback
(lambda (resp)
(let ((status (nrepl-dict-get resp "status"))
(coords (nrepl-dict-get resp "coords")))
(when (member "download-sources-jar" status)
(message "Local source not found, downloading Java sources for artifact %s/%s %s..."
(nrepl-dict-get coords "group")
(nrepl-dict-get coords "artifact")
(nrepl-dict-get coords "version"))))))
(var-info
(cider-nrepl-send-sync-request req (cider-current-repl) nil callback)))
(if (member "no-info" (nrepl-dict-get var-info "status"))
nil
var-info)))