aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/lib.rs')
-rw-r--r--crates/shirabe/src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/shirabe/src/lib.rs b/crates/shirabe/src/lib.rs
index 4667e7c9..e5624988 100644
--- a/crates/shirabe/src/lib.rs
+++ b/crates/shirabe/src/lib.rs
@@ -11,7 +11,6 @@ pub mod event_dispatcher;
pub mod exception;
pub mod factory;
pub mod filter;
-pub mod installed_versions;
pub mod installer;
pub mod io;
pub mod json;
@@ -25,6 +24,10 @@ pub mod script;
pub mod self_update;
pub mod util;
+// InstalledVersions is intentionally unported to Rust. It is a runtime API for plugins and project
+// code, never read by Composer itself. Its real state is stored in PHP's InstalledVersions class.
+// See also `__shirabe_installed_versions_reload` in crates/shirabe-php-rpc/php/worker.php.
+
/// ref: composer/bin/composer
pub fn run(argv: Vec<String>) -> anyhow::Result<i32> {
use crate::console::ApplicationHandle;