From 8cc1ba8a02c0318b65658f1634de378c780392b9 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 10 May 2026 00:32:08 +0900 Subject: refactor(workspace): consolidate crates into mozart-core Merged mozart-archiver, mozart-autoload, mozart-registry, mozart-sat-resolver, and mozart-vcs into mozart-core to align the source layout with Composer's structure. Co-Authored-By: Claude Sonnet 4.6 --- crates/mozart/src/commands/validate.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/mozart/src/commands/validate.rs') diff --git a/crates/mozart/src/commands/validate.rs b/crates/mozart/src/commands/validate.rs index 873b371..853eb2b 100644 --- a/crates/mozart/src/commands/validate.rs +++ b/crates/mozart/src/commands/validate.rs @@ -337,7 +337,7 @@ fn check_lock_freshness( return; } - match mozart_registry::lockfile::LockFile::read_from_file(&lock_path) { + match mozart_core::repository::lockfile::LockFile::read_from_file(&lock_path) { Ok(lock) => { if !lock.is_fresh(composer_json_content) { lock_errors.push( @@ -578,7 +578,7 @@ mod tests { #[test] fn test_check_lock_freshness_fresh_lock() { - use mozart_registry::lockfile::LockFile; + use mozart_core::repository::lockfile::LockFile; use tempfile::tempdir; let dir = tempdir().unwrap(); @@ -614,7 +614,7 @@ mod tests { #[test] fn test_check_lock_freshness_stale_lock() { - use mozart_registry::lockfile::LockFile; + use mozart_core::repository::lockfile::LockFile; use tempfile::tempdir; let dir = tempdir().unwrap(); -- cgit v1.3.1