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

Method architecture

python-alpm/src/types/relation.rs:238–246  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

236
237 #[getter]
238 fn architecture(&self) -> Option<crate::types::system::ElfArchitectureFormat> {
239 use alpm_types::SonameV1::{Basic, Explicit, Unversioned};
240 match self.0 {
241 Basic(_) => None,
242 Explicit { architecture, .. } | Unversioned { architecture, .. } => {
243 Some(architecture.into())
244 }
245 }
246 }
247
248 #[getter]
249 fn form(&self) -> SonameV1Type {

Callers 1

__repr__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected