refactor(downloads): Moved all files relevant to game downloads to their own directory

Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
quexeky
2025-01-04 18:34:47 +11:00
parent bf1e6b2fa7
commit b0787e8f44
13 changed files with 15 additions and 526 deletions
+3 -7
View File
@@ -1,14 +1,12 @@
mod auth;
mod db;
mod downloads;
mod library;
mod games;
mod autostart;
mod cleanup;
mod debug;
mod process;
mod remote;
mod state;
mod tools;
pub mod download_manager;
#[cfg(test)]
@@ -27,12 +25,10 @@ use db::{
};
use download_manager::download_manager::DownloadManager;
use download_manager::download_manager_builder::DownloadManagerBuilder;
use download_manager::downloadable_metadata::DownloadableMetadata;
use debug::fetch_system_data;
use downloads::download_commands::*;
use games::downloads::download_commands::{cancel_game, download_game, move_game_in_queue, pause_game_downloads, resume_game_downloads};
use http::Response;
use http::{header::*, response::Builder as ResponseBuilder};
use library::{
use games::library::{
fetch_game, fetch_game_status, fetch_game_verion_options, fetch_library, uninstall_game, Game
};
use log::{debug, info, warn, LevelFilter};