pub fn validate(
file: Option<&PathBuf>,
schema: Option<MtreeSchema>,
) -> Result<(), Error>
Expand description
A small wrapper around the parsing of an MTREE file that simply ensures that there were no errors.
For all possible errors, check the parse function.