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

Method architecture

alpm-srcinfo/src/source_info/parser.rs:948–957  ·  view source on GitHub ↗

Returns the [`Architecture`] of the current variant. Can be used to extract the architecture without knowing which variant this is.

(&self)

Source from the content-addressed store, hash-verified

946 .as_ref()
947 }
948}
949
950/// Package source keywords that are exclusive to the `pkgbase` section in SRCINFO data.
951#[derive(Debug, EnumString, VariantNames)]
952#[strum(serialize_all = "lowercase")]
953pub enum SourceKeyword {
954 /// A source entry.
955 Source,
956 /// A noextract entry.
957 NoExtract,
958 /// A blake2 hash digest.
959 B2sums,
960 /// An MD-5 hash digest.

Callers

nothing calls this directly

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected