Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Jul 16, 2024
1 parent 30eea47 commit f1bf7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub fn realize_plan(plan: ChunkPlan) -> anyhow::Result<()> {
let dst_chunk_start = i * plan.chunk_size;
let dst_chunk_end = dst_chunk_start + plan.chunk_size;
let src_chunk_start = plan.file_size - ((i + 1) * plan.chunk_size);
let src_chunk_end = plan.file_size + plan.chunk_size;
let src_chunk_end = src_chunk_start + plan.chunk_size;
println!("Output chunk {} - pos {}-{}", i, dst_chunk_start, dst_chunk_end);
println!("Copy {} bytes from {}-{} to {}-{}", plan.chunk_size, src_chunk_start, src_chunk_end, dst_chunk_start, dst_chunk_end);
println!(
Expand Down

0 comments on commit f1bf7f7

Please sign in to comment.