From 24bb31c109332ae982b7091ffcd5183442ce6f6f Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 10 May 2026 20:01:21 +0900 Subject: refactor(vcs): move VCS drivers under repository module Mirror Composer's structure where VCS drivers live under Repository/Vcs/. Rename VcsDriver trait to VcsDriverInterface and BitbucketDriver to GitBitbucketDriver to match Composer naming, and add stubs for FossilDriver, PerforceDriver, and the VcsDriver base. --- crates/mozart-core/tests/git_driver_test.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'crates/mozart-core/tests/git_driver_test.rs') diff --git a/crates/mozart-core/tests/git_driver_test.rs b/crates/mozart-core/tests/git_driver_test.rs index c0dd4af..0c1c344 100644 --- a/crates/mozart-core/tests/git_driver_test.rs +++ b/crates/mozart-core/tests/git_driver_test.rs @@ -1,6 +1,6 @@ +use mozart_core::repository::vcs::{DriverConfig, DriverType, create_driver, detect_driver}; use mozart_core::vcs::downloader::VcsDownloader; use mozart_core::vcs::downloader::git::GitDownloader; -use mozart_core::vcs::driver::{DriverConfig, DriverType, create_driver}; use mozart_core::vcs::process::ProcessExecutor; use mozart_core::vcs::repository::VcsRepository; use mozart_core::vcs::util::git::GitUtil; @@ -250,8 +250,6 @@ fn test_git_downloader_unpushed_changes() { #[test] fn test_detect_driver() { - use mozart_core::vcs::driver::{DriverType, detect_driver}; - let config = DriverConfig::default(); assert_eq!( -- cgit v1.3.1