Skip to main content

compute_part_size

Function compute_part_size 

Source
pub fn compute_part_size(total_bytes: u64) -> u64
Expand description

Compute the multipart part size for a given total file size.

Exported so unit tests can verify the calculation in isolation.