this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: flush xz encoder/decoder to show correct output size

+4
+4
src/xz.rs
··· 67 67 progress.update_input(encoder.total_in()); 68 68 progress.update_output(encoder.total_out()); 69 69 } 70 + encoder.flush()?; 71 + progress.update_output(encoder.total_out()); 70 72 progress.finish(); 71 73 } else { 72 74 io::copy(&mut input_stream, &mut encoder)?; ··· 108 110 progress.update_input(decoder.total_in()); 109 111 progress.update_output(decoder.total_out()); 110 112 } 113 + decoder.flush()?; 114 + progress.update_output(decoder.total_out()); 111 115 progress.finish(); 112 116 } else { 113 117 io::copy(&mut input_stream, &mut decoder)?;