aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/dependency_resolver/operation/operation_interface.rs
blob: d93bd0f569fac58b0f10cbb726afb65890201410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//! ref: composer/src/Composer/DependencyResolver/Operation/OperationInterface.php

pub trait OperationInterface: std::fmt::Debug {
    fn get_operation_type(&self) -> String;

    fn show(&self, lock: bool) -> String;

    fn to_string(&self) -> String;

    fn clone_box(&self) -> Box<dyn OperationInterface> {
        todo!()
    }
}