aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/composer/semver/intervals.rs
blob: 0bf0be358b94312c2d32dba11071d7eaf7ebc94c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//! ref: composer/vendor/composer/semver/src/Intervals.php

use shirabe_php_shim::PhpMixed;
use shirabe_semver::constraint::AnyConstraint;

#[derive(Debug)]
pub struct Intervals;

impl Intervals {
    pub fn is_subset_of(
        _constraint_a: &AnyConstraint,
        _constraint_b: &AnyConstraint,
    ) -> anyhow::Result<bool> {
        todo!()
    }

    pub fn compact_constraint(_constraint: AnyConstraint) -> AnyConstraint {
        todo!()
    }

    pub fn compact(_constraint: &AnyConstraint) -> AnyConstraint {
        todo!()
    }

    pub fn get(_constraint: &AnyConstraint) -> anyhow::Result<PhpMixed> {
        todo!()
    }

    pub fn clear() {
        todo!()
    }
}