Function: eca-chat--context-presentable-path

eca-chat--context-presentable-path is a natively compiled function defined in eca-chat-context.el.

Signature

(eca-chat--context-presentable-path FILENAME)

Documentation

Return the presentable string for FILENAME.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat-context.el
;;;; Context functions

(defun eca-chat--context-presentable-path (filename)
  "Return the presentable string for FILENAME."
  (or (when (-first (lambda (root) (f-ancestor-of? root filename))
                    (eca--session-workspace-folders (eca-session)))
        (f-filename filename))
      filename))