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

Method version

python-alpm/src/srcinfo/schema.rs:35–39  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

33
34 #[getter]
35 fn version(&self) -> SchemaVersion {
36 match self.0.clone() {
37 alpm_srcinfo::SourceInfoSchema::V1(version) => version.into(),
38 }
39 }
40
41 fn __str__(&self) -> String {
42 self.0.to_string()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected