Skip to main content

parse

Function parse 

Source
pub fn parse(path: &Path) -> Result<Par2FileSet, ParseError>
Expand description

Parse a PAR2 file and return the complete file set metadata.

This reads the entire PAR2 file (typically the index .par2 file, not the large .volNNN+NNN.par2 recovery volumes). For recovery volumes, only the header packets are read — the large recovery data is skipped.