GitConflictRegion class final Getting started
One conflict block found in a work tree file.
The three lines are 1-based: startLine is the <<<<<<< line,
separatorLine the ======= line and endLine the >>>>>>> line, the
structure git leaves behind in a file both sides of a merge or of an apply
moved.
Constructors
- GitConflictRegion({required String path, required int startLine, required int separatorLine, required int endLine})
-
Creates a region of
pathdelimited by the three marker lines.const
Properties
- endLine → int
-
Line of the
>>>>>>>end marker.final - hashCode → int
-
The hash code for this object.
no setterinherited
- path → String
-
Path of the file, relative to the work tree root.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- separatorLine → int
-
Line of the
=======separator marker.final - startLine → int
-
Line of the
<<<<<<<start marker.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.
inherited