Module pkgbuild_bridge

Source
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 into Packages.
package_base ๐Ÿ”’
Convert parsed BridgeOutput::package_base output into a PackageBase.

Functionsยง

ensure_keyword_exists ๐Ÿ”’
Ensures a Keyword exists in a HashMap, removes it and returns it.
ensure_no_suffix ๐Ÿ”’
Ensures that a combination of a Keyword and an optional Architecture does not use an Architecture.
ensure_single_value ๐Ÿ”’
Ensures that a combination of Keyword and Value uses a Value::Single and returns the value.
parse_optional_value ๐Ÿ”’
Ensures a combination of Keyword and Value uses a Value::Single and parses the value as a specific, but optional type.
parse_value ๐Ÿ”’
Ensures that a combination of Keyword and Value uses a Value::Single and parses the value as a specific type.
parse_value_array ๐Ÿ”’
Parses a Value as a Vec of specific types.