aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-core/src/downloader.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-10 20:31:00 +0900
committernsfisis <nsfisis@gmail.com>2026-05-10 20:31:00 +0900
commit59bab6efee41a196b0d9d392167c536abbe068ba (patch)
treef36ca1c8534cf703b357d3f9090ba85efd9a9b74 /crates/mozart-core/src/downloader.rs
parent24bb31c109332ae982b7091ffcd5183442ce6f6f (diff)
downloadphp-mozart-59bab6efee41a196b0d9d392167c536abbe068ba.tar.gz
php-mozart-59bab6efee41a196b0d9d392167c536abbe068ba.tar.zst
php-mozart-59bab6efee41a196b0d9d392167c536abbe068ba.zip
refactor(downloader): introduce top-level downloader module
Move VCS downloaders and DownloadManager out of vcs/repository into a new top-level downloader module mirroring Composer\Downloader, and add stub types for the remaining Composer downloader hierarchy (file, archive variants, path, perforce, fossil, exceptions, interfaces) so future ports have a home.
Diffstat (limited to 'crates/mozart-core/src/downloader.rs')
-rw-r--r--crates/mozart-core/src/downloader.rs47
1 files changed, 47 insertions, 0 deletions
diff --git a/crates/mozart-core/src/downloader.rs b/crates/mozart-core/src/downloader.rs
new file mode 100644
index 0000000..f298085
--- /dev/null
+++ b/crates/mozart-core/src/downloader.rs
@@ -0,0 +1,47 @@
+mod archive_downloader;
+mod change_report_interface;
+mod download_manager;
+mod downloader_interface;
+mod dvcs_downloader_interface;
+mod file_downloader;
+mod filesystem_exception;
+mod fossil_downloader;
+mod git_downloader;
+mod gzip_downloader;
+mod hg_downloader;
+mod max_file_size_exceeded_exception;
+mod path_downloader;
+mod perforce_downloader;
+mod phar_downloader;
+mod rar_downloader;
+mod svn_downloader;
+mod tar_downloader;
+mod transport_exception;
+mod vcs_capable_downloader_interface;
+mod vcs_downloader;
+mod xz_downloader;
+mod zip_downloader;
+
+pub use archive_downloader::*;
+pub use change_report_interface::*;
+pub use download_manager::*;
+pub use downloader_interface::*;
+pub use dvcs_downloader_interface::*;
+pub use file_downloader::*;
+pub use filesystem_exception::*;
+pub use fossil_downloader::*;
+pub use git_downloader::*;
+pub use gzip_downloader::*;
+pub use hg_downloader::*;
+pub use max_file_size_exceeded_exception::*;
+pub use path_downloader::*;
+pub use perforce_downloader::*;
+pub use phar_downloader::*;
+pub use rar_downloader::*;
+pub use svn_downloader::*;
+pub use tar_downloader::*;
+pub use transport_exception::*;
+pub use vcs_capable_downloader_interface::*;
+pub use vcs_downloader::*;
+pub use xz_downloader::*;
+pub use zip_downloader::*;