alpm_srcinfo::commands

Function check

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

Checks a SRCINFO file from a path or stdin strictly.

ยงErrors

Returns an error if any linter warnings, deprecation warnings, unrecoverable logic or parsing errors are encountered while parsing the SRCINFO data.