fn handle_package(
package: &mut Package,
values: HashMap<Keyword, ClearableValue>,
) -> Result<(), BridgeError>
Expand description
Adds a map of Keyword
and ClearableValue
to a Package
.
Handles parsing and type conversions of all raw input into their respective alpm_types
types.
ยงErrors
Returns an error if
- one of the values in
values
cannot be converted into its respectivealpm_types
type, - or keywords incompatible with
Package
are encountered.