Skip to main content

Module download

Module download 

Source
Expand description

Download state and management.

DownloadJob holds per-download progress/status. DownloadManager owns the shared job list and spawns background tasks.

Structs§

DownloadJob
A single background download job (for one ROM).
DownloadManager
Owns the shared download list and spawns background download tasks.

Enums§

DownloadStatus
High-level status of a single download.

Functions§

download_directory
Backward-compatible default used by legacy CLI download code.
resolve_download_directory
Directory for ROM storage (ROMM_ROMS_DIR, ROMM_DOWNLOAD_DIR, or configured path).
unique_zip_path
Pick stem.zip, then stem__2.zip, stem__3.zip, … until the path does not exist.
validate_configured_download_directory
Validate configured download path without env override fallback.