GitUnmergedEntry class Getting started

One stage of a path left unmerged in the index.

A conflicted path normally appears once per stage: 1 for the common ancestor, 2 for the current branch and 3 for the other branch.

Constructors

GitUnmergedEntry({required String mode, required GitOid oid, required int stage, required String path})
Creates one stage of path: oid at mode for stage.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
mode → String
Octal file mode as git prints it, e.g. 100644.
final
oid → GitOid
Object name recorded for this stage.
final
path → String
Path of the entry relative to the repository root, /-separated.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stage → int
Merge stage: 1 (base), 2 (ours) or 3 (theirs).
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