pub fn hash_v1_sequential(
entries: &[ManifestEntry],
piece_length: u64,
cancellation: &CancellationToken,
progress: &impl ProgressSink,
) -> Result<V1HashResult>Expand description
Sequential correctness oracle for v1 piece hashing.
Files are opened one at a time and read through a reusable 64 KiB buffer. Pieces span file boundaries exactly as if all files formed one logical stream.
ยงErrors
Returns contextual I/O errors, cancellation, invalid piece lengths, short reads, or file metadata changes relative to the manifest snapshot.