GitMergeTreeResult class Getting started

Result of an in-memory merge (git merge-tree): the tree the merge would produce and the paths that conflict in it.

Neither the index nor the work tree is touched by the operation.

Constructors

GitMergeTreeResult({required GitOid tree, required List<String> conflictingFiles})
Creates the result of an in-memory merge: the merged tree and the conflictingFiles it carries.
const

Properties

conflictingFiles → List<String>
Paths that carry conflicts in tree. Empty for a clean merge.
final
hashCode → int
The hash code for this object.
no setteroverride
isConflicted → bool
Whether the merge produced any conflicting path.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tree → GitOid
Object name of the merged top-level tree. When conflictingFiles is not empty, those paths of this tree embed conflict markers.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override