Skip to main content

load_model

Function load_model 

Source
pub fn load_model(
    root: &RepoRoot,
    config: &Config,
    cache: &Cache,
) -> Result<Model>
Expand description

load_model walks the repository, syncs the cache, and builds the model through the cache, reading and parsing every document. The caller records the results that it derives from the model, then commits the cache.