Skip to main content

analyze_diff_impact_with_graph

Function analyze_diff_impact_with_graph 

Source
pub fn analyze_diff_impact_with_graph(
    store: &Store,
    changed: Vec<ChangedFunction>,
    graph: &CallGraph,
    test_chunks: &[ChunkSummary],
    root: &Path,
) -> Result<DiffImpactResult, AnalysisError>
Expand description

Like analyze_diff_impact but accepts pre-loaded graph and test chunks. Paths in the returned result are relative to root. Use when the caller already has the graph/test_chunks (e.g., review_diff which also needs them for risk scoring).