Function: eca--path-remote-to-local
eca--path-remote-to-local is a natively compiled function defined in
eca-util.el.
Signature
(eca--path-remote-to-local PATH)
Documentation
Translate a remote server PATH to a local Emacs path.
Applies path mappings (explicit eca-local-to-remote-prefix-map
plus TRAMP workspace folder mappings). The longest matching prefix
wins; explicit user mappings take priority over TRAMP-derived ones.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-util.el
(defun eca--path-remote-to-local (path)
"Translate a remote server PATH to a local Emacs path.
Applies path mappings (explicit `eca-local-to-remote-prefix-map'
plus TRAMP workspace folder mappings). The longest matching prefix
wins; explicit user mappings take priority over TRAMP-derived ones."
(eca--path--translate path #'cdr #'car nil))