Expand description
Convert untyped and unchecked BridgeOutput
into a well-formed SourceInfoV1
.
Modulesยง
- error
- The error types used in the scope of
alpm-pkgbuild-bridge
output logic. - package ๐
- Convert parsed
BridgeOutput::packages
output intoPackage
s. - package_
base ๐ - Convert parsed
BridgeOutput::package_base
output into aPackageBase
.
Functionsยง
- ensure_
keyword_ ๐exists - Ensures a
Keyword
exists in aHashMap
, removes it and returns it. - ensure_
no_ ๐suffix - Ensures that a combination of a
Keyword
and an optionalArchitecture
does not use anArchitecture
. - ensure_
single_ ๐value - Ensures that a combination of
Keyword
andValue
uses aValue::Single
and returns the value. - parse_
optional_ ๐value - Ensures a combination of
Keyword
andValue
uses aValue::Single
and parses the value as a specific, but optional type. - parse_
value ๐ - Ensures that a combination of
Keyword
andValue
uses aValue::Single
and parses the value as a specific type. - parse_
value_ ๐array - Parses a
Value
as aVec
of specific types.