MCPcopy Create free account
hub / github.com/archlinux/alpm / Version

Class Version

python-alpm/src/types/version.rs:256–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254#[pymethods]
255impl Version {
256 #[new]
257 #[pyo3(signature = (pkgver, pkgrel = None, epoch = None))]
258 fn new(pkgver: PackageVersion, pkgrel: Option<PackageRelease>, epoch: Option<Epoch>) -> Self {
259 alpm_types::Version::new(pkgver.0, epoch.map(From::from), pkgrel.map(From::from)).into()

Callers 2

fromMethod · 0.70
try_fromMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected