Skip to main content

collect_operation_diff

Function collect_operation_diff 

Source
pub fn collect_operation_diff(
    graph_conn: &GraphConnection,
    source_hash: Option<DoltHashId>,
    target_hash: DoltHashId,
    range: DiffRange,
) -> Result<OperationDiff, OperationDiffError>
Expand description

Builds the complete graph diff between two operation commits.

Returns the operations represented by the comparison and one consolidated graph diff for each affected block group. The command and view layers use this as the complete comparison result.