Function: cider-path-to-ns
cider-path-to-ns is a byte-compiled function defined in
cider-client.el.
Signature
(cider-path-to-ns RELPATH)
Documentation
Transform RELPATH to Clojure namespace.
Remove extension and substitute "/" with ".", "_" with "-".
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-client.el
(defun cider-path-to-ns (relpath)
"Transform RELPATH to Clojure namespace.
Remove extension and substitute \"/\" with \".\", \"_\" with \"-\"."
(thread-last
relpath
(file-name-sans-extension)
(replace-regexp-in-string "/" ".")
(replace-regexp-in-string "_" "-")))