From 10c8344930f819d57d790ef937735c46c8079421 Mon Sep 17 00:00:00 2001 From: quexeky Date: Thu, 24 Oct 2024 20:39:03 +1100 Subject: [PATCH] Removed debugging statements --- src-tauri/src/downloads/download_files.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src-tauri/src/downloads/download_files.rs b/src-tauri/src/downloads/download_files.rs index daa632b..97e3aea 100644 --- a/src-tauri/src/downloads/download_files.rs +++ b/src-tauri/src/downloads/download_files.rs @@ -11,7 +11,6 @@ use crate::downloads::manifest::DropDownloadContext; const CHUNK_SIZE: u64 = 1024 * 1024 * 64; pub fn download_game_chunk(ctx: DropDownloadContext) { - info!("Downloading game chunk"); let base_url = DB.fetch_base_url(); @@ -34,9 +33,7 @@ pub fn download_game_chunk(ctx: DropDownloadContext) { .unwrap(); let response_data = response.bytes().unwrap(); - info!("Writing data to chunk at offset {}", CHUNK_SIZE * ctx.index as u64); write_to_file(ctx.file, ctx.index as u64, response_data.to_vec()); - // Need to implement actual download logic } fn write_to_file(file: Arc>, index: u64, data: Vec) {