(pkgver: &str)
| 12 | impl PackageVersion { |
| 13 | #[new] |
| 14 | fn new(pkgver: &str) -> Result<Self, crate::types::Error> { |
| 15 | Ok(alpm_types::PackageVersion::new(pkgver.to_string())?.into()) |
| 16 | } |
| 17 | |
| 18 | pub fn __repr__(&self) -> String { |
| 19 | format!("PackageVersion('{}')", self.0) |
nothing calls this directly
no outgoing calls
no test coverage detected