pub fn calc_total_chunks( total_size: i64, chunk_size: i64, context: &str, ) -> Result<i32>
Calculates the number of chunks needed to cover total_size.
total_size