Function: eca--path-to-uri
eca--path-to-uri is a natively compiled function defined in
eca-util.el.
Signature
(eca--path-to-uri PATH)
Documentation
Convert a PATH to a uri.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-util.el
(defun eca--path-to-uri (path)
"Convert a PATH to a uri."
(concat eca--uri-file-prefix
(--> path
(expand-file-name it)
(or (file-remote-p it 'localname) it)
(eca--path-local-to-remote it))))