parse_tagfile

Function parse_tagfile 

Source
pub fn parse_tagfile(content: &str) -> Result<Vec<TagSection>, ParserError>
Expand description

Parses a TagFile: these are files such as Debian control and Packages files.

ยงReturns

  • A Result: The Ok variant containing the vector of TagSection objects if there was no issue parsing the file, and the Err variant if there was.