Skip to main content

parse_batch

Function parse_batch 

Source
pub fn parse_batch(
    out: &[u8],
    count: usize,
) -> Result<Vec<Option<Vec<u8>>>, String>
Expand description

Splits cat-file --batch output into count positional results.

ยงErrors

A header that is neither <oid> <type> <size> nor ... missing, or output that ends mid-blob.