GitStatusEntry class
One entry of git status (porcelain).
Constructors
- GitStatusEntry({required String path, required String status, required bool staged})
-
const
-
GitStatusEntry.fromJson(Map<
String, Object?> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- path → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- staged → bool
-
Whether the change is staged (index column is not space/
?).final - status → String
-
Two-character porcelain code (e.g.
M,??,A). Index status is the first char, working-tree status the second.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited