Skip to main content

validate_files

Function validate_files 

Source
pub fn validate_files(
    root: &str,
    files: Vec<ParsedFile>,
    checks: &Checks<'_>,
) -> Vec<ParsedFile>
Expand description

Checks the files of a parse of root: a file whose path isn’t inside the root, or that defines an invalid DAG, gets an import error listing the problems and no DAGs.