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

Method from

python-alpm/src/srcinfo/source_info/mod.rs:14–18  ·  view source on GitHub ↗
(v: alpm_srcinfo::SourceInfo)

Source from the content-addressed store, hash-verified

12
13impl From<alpm_srcinfo::SourceInfo> for SourceInfo {
14 fn from(v: alpm_srcinfo::SourceInfo) -> Self {
15 match v {
16 alpm_srcinfo::SourceInfo::V1(v) => SourceInfo::V1(v.into()),
17 }
18 }
19}
20
21#[pyfunction]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected