Function: cider--xref-item-file

cider--xref-item-file is a byte-compiled function defined in cider-xref-backend.el.

Signature

(cider--xref-item-file ITEM)

Documentation

Return the file backing xref ITEM, or nil for a non-file location.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-xref-backend.el
(defun cider--xref-item-file (item)
  "Return the file backing xref ITEM, or nil for a non-file location."
  (let ((loc (xref-item-location item)))
    (when (xref-file-location-p loc)
      (xref-file-location-file loc))))