Function: eca-chat--completion-file-annotate

eca-chat--completion-file-annotate is a natively compiled function defined in eca-chat-context.el.

Signature

(eca-chat--completion-file-annotate ROOTS ITEM-LABEL)

Documentation

Annonate ITEM-LABEL detail for ROOTS.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat-context.el
(defun eca-chat--completion-file-annotate (roots item-label)
  "Annonate ITEM-LABEL detail for ROOTS."
  (-let (((&plist :path path) (get-text-property 0 'eca-chat-completion-item item-label)))
    (eca-chat--relativize-filename-for-workspace-root path roots 'hide-filename)))