pub fn build<G: ObjectReader>(
git: &G,
head: &str,
view: &DiffView,
partition: &Partition,
symbols: &SymbolReaders,
) -> Result<ClassGraph, EngineError>Expand description
Build the graph over the added lines of every class: what the change introduces, and what the changed code now calls.
Hunks in generated files contribute no symbols. A lockfile would otherwise appear to define half the dependency tree. This is classification, never enumeration — the class, its hunks and its files all still exist (ADR 0005/0012).