pub fn unmarshal_variable_config(
yaml: &str,
) -> Result<VariableConfig, LatestError>Expand description
Decodes a VariableConfig from a YAML value, handling both the scalar
shorthand and the explicit mapping form. A scalar is treated as a literal
value. A mapping defaults to the literal type when no type is given; a
file type must name its file, and any other type is rejected.