Function: cider--project-name

cider--project-name is a byte-compiled function defined in cider-util.el.

Signature

(cider--project-name DIR)

Documentation

Extracts a project name from DIR, possibly nil.

The project name is the final component of DIR if not nil.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-util.el
(defun cider--project-name (dir)
  "Extracts a project name from DIR, possibly nil.
The project name is the final component of DIR if not nil."
  (when dir
    (file-name-nondirectory (directory-file-name dir))))