GitMergeAnalysis enum
The results of mergeAnalysis indicate the merge opportunities.
Values
- normal → const GitMergeAnalysis
-
A "normal" merge; both HEAD and the given merge input have diverged from their common ancestor. The divergent commits must be merged.
const GitMergeAnalysis(1) - upToDate → const GitMergeAnalysis
-
All given merge inputs are reachable from HEAD, meaning the repository is up-to-date and no merge needs to be performed.
const GitMergeAnalysis(2) - fastForward → const GitMergeAnalysis
-
The given merge input is a fast-forward from HEAD and no merge needs to be performed. Instead, the client can check out the given merge input.
const GitMergeAnalysis(4) - unborn → const GitMergeAnalysis
-
The HEAD of the current repository is "unborn" and does not point to a valid commit. No merge can be performed, but the caller may wish to simply set HEAD to the target commit(s).
const GitMergeAnalysis(8)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromValue(
int value) → GitMergeAnalysis
Constants
-
values
→ const List<
GitMergeAnalysis> - A constant List of the values in this enum, in order of their declaration.