aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/validate.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-10 00:32:08 +0900
committernsfisis <nsfisis@gmail.com>2026-05-10 00:32:08 +0900
commit8cc1ba8a02c0318b65658f1634de378c780392b9 (patch)
treefdd5cb61e488018891a486b25991b87c84220bb8 /crates/mozart/src/commands/validate.rs
parent72b2e877c01e67ba7edd37e34ac2eadb7a1c62c4 (diff)
downloadphp-mozart-8cc1ba8a02c0318b65658f1634de378c780392b9.tar.gz
php-mozart-8cc1ba8a02c0318b65658f1634de378c780392b9.tar.zst
php-mozart-8cc1ba8a02c0318b65658f1634de378c780392b9.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart/src/commands/validate.rs')
-rw-r--r--crates/mozart/src/commands/validate.rs6
1 files changed, 3 insertions, 3 deletions
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();