Skip to main content

build_model

Function build_model 

Source
pub fn build_model(
    root: &Path,
    sources: &HashMap<PathBuf, String>,
    d1: &[D1SqlRef],
) -> Model
Expand description

Lex and parse every file in sources, collecting the unit graph and the mutation sites of the non-suite files. A file that does not parse contributes nothing (the baseline run fails first on it).