Function: cider--path->path-port-pairs

cider--path->path-port-pairs is a byte-compiled function defined in cider.el.

Signature

(cider--path->path-port-pairs PATH)

Documentation

Given PATH, returns all the possible <path, port> pairs.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider.el
(defun cider--path->path-port-pairs (path)
  "Given PATH, returns all the possible <path, port> pairs."
  (thread-last path
               cider--file-path
               nrepl-extract-ports
               (mapcar (lambda (port)
                         (list path port)))
               ;; remove nils that may have been returned due to permission errors:
               (seq-filter #'identity)))