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

Method default

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

Returns the default [`SourceInfoSchema`] variant ([`SourceInfoSchema::V1`]).

()

Source from the content-addressed store, hash-verified

127impl Default for SourceInfoSchema {
128 /// Returns the default [`SourceInfoSchema`] variant ([`SourceInfoSchema::V1`]).
129 fn default() -> Self {
130 Self::V1(SchemaVersion::new(Version::new(1, 0, 0)))
131 }
132}
133
134impl FromStr for SourceInfoSchema {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected