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

Method default

alpm-types/src/pkg.rs:78–80  ·  view source on GitHub ↗

Returns the default [`PackageDescription`]. Following the default for [`String`], this returns a [`PackageDescription`] wrapping an empty string.

()

Source from the content-addressed store, hash-verified

76 .context(StrContext::Label("package type"))
77 .context(StrContext::Expected(StrContextValue::Description(
78 "a string consisting of alphabetic characters",
79 )))
80 }
81}
82
83/// Description of a package

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected