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

Method new

python-alpm/src/types/system.rs:202–204  ·  view source on GitHub ↗
(arch: RawArchitecture)

Source from the content-addressed store, hash-verified

200
201impl_from!(Architecture, alpm_types::Architecture);
202
203#[pymethods]
204impl Architecture {
205 #[new]
206 #[pyo3(signature = (arch = RawArchitecture::String("any".to_string())))]
207 fn new(arch: RawArchitecture) -> Result<Architecture, crate::types::Error> {

Callers

nothing calls this directly

Calls 1

into_iterMethod · 0.45

Tested by

no test coverage detected