aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/installer/metapackage_installer.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-17 14:33:13 +0900
committernsfisis <nsfisis@gmail.com>2026-05-17 14:38:16 +0900
commit3e21569688cf0c8a1918c73ff96cb1b3aeffe0b3 (patch)
tree712ae7832124da20739f5b389cebe4f44abd7225 /crates/shirabe/src/installer/metapackage_installer.rs
parentac59538140a93d9a023da2115148bc9779223978 (diff)
downloadphp-shirabe-3e21569688cf0c8a1918c73ff96cb1b3aeffe0b3.tar.gz
php-shirabe-3e21569688cf0c8a1918c73ff96cb1b3aeffe0b3.tar.zst
php-shirabe-3e21569688cf0c8a1918c73ff96cb1b3aeffe0b3.zip
fix(compile): extract constants from traits to make them dyn-compatible
Diffstat (limited to 'crates/shirabe/src/installer/metapackage_installer.rs')
-rw-r--r--crates/shirabe/src/installer/metapackage_installer.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/crates/shirabe/src/installer/metapackage_installer.rs b/crates/shirabe/src/installer/metapackage_installer.rs
index 0a5f872..3a47f70 100644
--- a/crates/shirabe/src/installer/metapackage_installer.rs
+++ b/crates/shirabe/src/installer/metapackage_installer.rs
@@ -4,6 +4,7 @@ use crate::dependency_resolver::operation::install_operation::InstallOperation;
use crate::dependency_resolver::operation::uninstall_operation::UninstallOperation;
use crate::dependency_resolver::operation::update_operation::UpdateOperation;
use crate::installer::installer_interface::InstallerInterface;
+use crate::io::io_interface;
use crate::io::io_interface::IOInterface;
use crate::package::package_interface::PackageInterface;
use crate::repository::installed_repository_interface::InstalledRepositoryInterface;
@@ -75,7 +76,7 @@ impl InstallerInterface for MetapackageInstaller {
self.io.write_error(
&format!(" - {}", InstallOperation::format(package, false)),
true,
- IOInterface::NORMAL,
+ io_interface::NORMAL,
);
repo.add_package(package.clone_box());
@@ -102,7 +103,7 @@ impl InstallerInterface for MetapackageInstaller {
self.io.write_error(
&format!(" - {}", UpdateOperation::format(initial, target, false)),
true,
- IOInterface::NORMAL,
+ io_interface::NORMAL,
);
repo.remove_package(initial);
@@ -129,7 +130,7 @@ impl InstallerInterface for MetapackageInstaller {
self.io.write_error(
&format!(" - {}", UninstallOperation::format(package, false)),
true,
- IOInterface::NORMAL,
+ io_interface::NORMAL,
);
repo.remove_package(package);