Skip to main content

parse_output

Function parse_output 

Source
fn parse_output(
    i: &[u8],
) -> IResult<&[u8], (OutputName, StorePath, Option<OutputHash>), NomError<&[u8]>>
Expand description

Parse one output in ATerm. This is 4 string fields inside parans: output name, output path, algo (and mode), digest. Returns the OutputName, output StorePath and possible FOD OutputHash.