Function: dired-rsync--extract-port-from-tramp

dired-rsync--extract-port-from-tramp is a natively compiled function defined in dired-rsync.el.

Signature

(dired-rsync--extract-port-from-tramp FILE-OR-PATH)

Documentation

Extract the port part of a tramp FILE-OR-PATH.

Source Code

;; Defined in /nix/store/i42d1fmg6q3dci37c05j415vhqjrzi15-emacs-packages-deps/share/emacs/site-lisp/elpa/dired-rsync-20261005.758/dired-rsync.el
(defun dired-rsync--extract-port-from-tramp (file-or-path)
  "Extract the port part of a tramp FILE-OR-PATH."
  (when (tramp-tramp-file-p file-or-path)
    (with-parsed-tramp-file-name file-or-path tfop
      tfop-port)))