aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/composer/semver/compiling_matcher.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-external-packages/src/composer/semver/compiling_matcher.rs')
-rw-r--r--crates/shirabe-external-packages/src/composer/semver/compiling_matcher.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/crates/shirabe-external-packages/src/composer/semver/compiling_matcher.rs b/crates/shirabe-external-packages/src/composer/semver/compiling_matcher.rs
index 5a8f09d..dc27a32 100644
--- a/crates/shirabe-external-packages/src/composer/semver/compiling_matcher.rs
+++ b/crates/shirabe-external-packages/src/composer/semver/compiling_matcher.rs
@@ -1,16 +1,18 @@
+use shirabe_semver::constraint::constraint_interface::ConstraintInterface;
+
#[derive(Debug)]
pub struct CompilingMatcher;
impl CompilingMatcher {
- pub fn r#match(_constraint: &dyn std::any::Any, _package: &dyn std::any::Any) -> bool {
+ pub fn r#match(_constraint: &dyn ConstraintInterface, _package: &dyn std::any::Any) -> bool {
todo!()
}
- pub fn matches(_constraint: &dyn std::any::Any, _operator: &str, _version: &str) -> bool {
+ pub fn matches(_constraint: &dyn ConstraintInterface, _operator: i64, _version: &str) -> bool {
todo!()
}
- pub fn match_(_constraint: &dyn std::any::Any, _operator: &str, _version: &str) -> bool {
+ pub fn match_(_constraint: &dyn ConstraintInterface, _operator: i64, _version: &str) -> bool {
todo!()
}