Function: dired-rsync--do-run

dired-rsync--do-run is a natively compiled function defined in dired-rsync.el.

Signature

(dired-rsync--do-run COMMAND DETAILS)

Documentation

Run rsync COMMAND in a unique buffer, passing DETAILS to sentinel.

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--do-run (command details)
  "Run rsync COMMAND in a unique buffer, passing DETAILS to sentinel."
  (apply #'make-process
         (append (list :name "*rsync*"
                       :buffer (format "%s @ %s"
                                       dired-rsync-proc-buffer-prefix
                                       (current-time-string))
                       :command (list shell-file-name
                                      shell-command-switch
                                      command)
                       :sentinel (lambda (proc desc)
                                   (dired-rsync--sentinel proc desc details))
                       :filter (lambda (proc string)
                                 (dired-rsync--filter proc string)))))
  (dired-rsync--update-modeline))