Function: dired-rsync--get-remote-port
dired-rsync--get-remote-port is a natively compiled function defined
in dired-rsync.el.
Signature
(dired-rsync--get-remote-port)
Documentation
Return the remote port we shall use for the reverse port-forward.
Source Code
;; Defined in /nix/store/i42d1fmg6q3dci37c05j415vhqjrzi15-emacs-packages-deps/share/emacs/site-lisp/elpa/dired-rsync-20261005.758/dired-rsync.el
;; Helpers
(defun dired-rsync--get-remote-port ()
"Return the remote port we shall use for the reverse port-forward."
(+ 50000 (length (dired-rsync--get-active-buffers))))