Function: cider-request:load-file
cider-request:load-file is a byte-compiled function defined in
cider-client.el.
Signature
(cider-request:load-file FILE-CONTENTS FILE-PATH FILE-NAME &optional CONNECTION CALLBACK)
Documentation
Perform the nREPL "load-file" op.
FILE-CONTENTS, FILE-PATH and FILE-NAME are details of the file to be
loaded. If CONNECTION is nil, use cider-current-repl. If CALLBACK
is nil, use cider-load-file-handler.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-client.el
(defun cider-request:load-file (file-contents file-path file-name &optional connection callback)
"Perform the nREPL \"load-file\" op.
FILE-CONTENTS, FILE-PATH and FILE-NAME are details of the file to be
loaded. If CONNECTION is nil, use `cider-current-repl'. If CALLBACK
is nil, use `cider-load-file-handler'."
(cider-nrepl-send-request `("op" "load-file"
"file" ,file-contents
"file-path" ,file-path
"file-name" ,file-name)
(or callback
(cider-load-file-handler (current-buffer)))
connection))