(comparison: VersionComparison, version: crate::types::version::Version)
| 12 | impl VersionRequirement { |
| 13 | #[new] |
| 14 | fn new(comparison: VersionComparison, version: crate::types::version::Version) -> Self { |
| 15 | alpm_types::VersionRequirement::new(comparison.into(), version.into()).into() |
| 16 | } |
| 17 | |
| 18 | #[staticmethod] |
| 19 | fn from_str(req: &str) -> Result<Self, crate::types::Error> { |
nothing calls this directly
no outgoing calls
no test coverage detected