pub fn validate(file: Option<&PathBuf>) -> Result<(), Error>
Validates a SRCINFO file from a path or stdin.
Wraps the parse function and allows to ensure that no errors occurred during parsing.
parse