Skip to main content

Module merge

Module merge 

Source
Expand description

Merge — 3-way merge with conflict detection.

Finds common ancestor, computes diffs from both branches, detects conflicts (same subject+predicate with different objects), and produces either a clean merge or a conflict report.

Structs§

Conflict
A merge conflict: same (subject, predicate, namespace) with different objects.

Enums§

MergeError
Errors from merge operations.
MergeResult
Result of a merge operation.
MergeStrategy
Strategy for automatic conflict resolution during merge.
Resolution
How to resolve a single conflict.

Functions§

merge
Perform a 3-way merge between two commits.
merge_with_strategy
Perform a 3-way merge with automatic conflict resolution.