Expand description
Destination-side writes.
Files are written to a .part sidecar and renamed into place only after the
last chunk lands and the hash verifies. A crash therefore leaves an obvious
partial file that resume can pick up, never a truncated file that looks
complete.
Structs§
- File
Writers - Open write handles keyed by file id.
- Write
Handle - One destination file, open for concurrent positional writes.
Constants§
- PART_
SUFFIX - Suffix for in-progress files.