runsync_transfer/io/mod.rs
1//! Positional file I/O.
2//!
3//! The engine never seeks. Every read and write carries its own absolute
4//! offset (`pread`/`pwrite`), which is what allows N workers to touch one file
5//! concurrently without a lock and without a shared cursor. It is also why a
6//! 100 GB file costs the same resident memory as a 100 MB one: nothing is ever
7//! buffered beyond the chunks currently in flight.
8
9pub mod reader;
10pub mod writer;
11
12pub use reader::ChunkReader;
13pub use writer::{part_path_for, FileWriters, WriteHandle};