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

Method inner

alpm-srcinfo/src/schema.rs:35–39  ·  view source on GitHub ↗

Returns a reference to the inner [`SchemaVersion`].

(&self)

Source from the content-addressed store, hash-verified

33
34 /// Returns a reference to the inner [`SchemaVersion`].
35 fn inner(&self) -> &SchemaVersion {
36 match self {
37 SourceInfoSchema::V1(v) => v,
38 }
39 }
40
41 /// Derives a [`SourceInfoSchema`] from a SRCINFO file.
42 ///

Callers 3

try_fromMethod · 0.45
pkgbase_sectionFunction · 0.45
pkgname_sectionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected