Skip to main content

Module diff

Module diff 

Source

Structs§

DiffFileStat
Per-file diff line count statistics.
DiffSummary
Summary of differences between two commits or trees.

Enums§

MergeCheckResult
Outcome of a 3-way mergeability check (git merge-tree --write-tree).

Functions§

check_mergeable
Checks whether ours and theirs merge cleanly via git merge-tree --write-tree without touching any working tree.
diff_summary
Computes a structured per-file diff summary between base and head.
is_ancestor
Returns true if ancestor is an ancestor of descendant (git merge-base --is-ancestor).