pub fn validate(
file: Option<&PathBuf>,
schema: Option<SourceInfoSchema>,
) -> 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.