alpm_srcinfo::commands

Function validate

Source
pub fn validate(file: Option<&PathBuf>) -> Result<(), Error>
Expand description

Validates a SRCINFO file from a path or stdin.

Wraps the parse function and allows to ensure that no errors occurred during parsing.