Expand description
The receiver: the side that holds the destination tree.
It reads the sender’s file list, creates directories and symlinks directly,
and for each file decides skip / whole / delta. It drives the exchange — one
Request then one Data response at a time — applies each result with a
containment-checked atomic write, mirrors deletions, and finally sends
Msg::Finished to end the session.
Functions§
- run_
receiver - Run the receiver half over
connfor the destination tree atroot.