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

Function init

python-alpm/src/srcinfo/source_info/mod.rs:55–59  ·  view source on GitHub ↗
(m: &Bound<'_, PyModule>)

Source from the content-addressed store, hash-verified

53
54 #[pymodule_init]
55 fn init(m: &Bound<'_, PyModule>) -> PyResult<()> {
56 let modules = PyModule::import(m.py(), "sys")?.getattr("modules")?;
57 modules.set_item("alpm.alpm_srcinfo.source_info.v1", m.getattr("v1")?)?;
58 Ok(())
59 }
60}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected