aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/dependency_resolver/operation/install_operation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/dependency_resolver/operation/install_operation.rs')
-rw-r--r--crates/shirabe/src/dependency_resolver/operation/install_operation.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/shirabe/src/dependency_resolver/operation/install_operation.rs b/crates/shirabe/src/dependency_resolver/operation/install_operation.rs
index ca3286c..ef49239 100644
--- a/crates/shirabe/src/dependency_resolver/operation/install_operation.rs
+++ b/crates/shirabe/src/dependency_resolver/operation/install_operation.rs
@@ -48,6 +48,10 @@ impl OperationInterface for InstallOperation {
fn as_install_operation(&self) -> Option<&InstallOperation> {
Some(self)
}
+
+ fn get_package(&self) -> PackageInterfaceHandle {
+ self.package.clone()
+ }
}
impl std::fmt::Display for InstallOperation {