Function nix_compat::derivation::parser::parse_outputs

source ·
fn parse_outputs(
    i: &[u8]
) -> IResult<&[u8], BTreeMap<String, Output>, NomError<&[u8]>>
Expand description

Parse multiple outputs in ATerm. This is a list of things acccepted by parse_output, and takes care of turning the (String, Output) returned from it to a BTreeMap. We don’t use parse_kv here, as it’s dealing with 2-tuples, and these are 4-tuples.