Skip to content

Commit

Permalink
more details
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Jul 16, 2024
1 parent 77dd77f commit e9e27c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pub fn plan_chunks(chunk_size: u64, file_size: u64) -> anyhow::Result<ChunkPlan>
}

pub fn realize_plan(plan: ChunkPlan) -> anyhow::Result<()> {
log::info!("Realizing plan for file size {} and chunk size {}", plan.file_size, plan.chunk_size);
for i in 0..plan.start_chunks {
let dst_chunk_start = i * plan.chunk_size;
let dst_chunk_end = dst_chunk_start * plan.chunk_size;
Expand Down

0 comments on commit e9e27c5

Please sign in to comment.