GitFileState enum Getting started
State of a path reported by git status, on one side of the index.
Values
- unchanged → const GitFileState
-
The path is identical on this side.
- added → const GitFileState
-
The path was added on this side.
- modified → const GitFileState
-
The path content or mode changed on this side.
- deleted → const GitFileState
-
The path was deleted on this side.
- renamed → const GitFileState
-
The path was renamed on this side; the previous name is carried by GitStatusEntry.originalPath.
- copied → const GitFileState
-
The path was copied on this side; the source name is carried by GitStatusEntry.originalPath.
- typeChanged → const GitFileState
-
The kind of the path changed (a regular file became a symlink, say).
- unmerged → const GitFileState
-
The path is part of an unresolved merge.
- untracked → const GitFileState
-
The path is not tracked at all.
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
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
Constants
-
values
→ const List<
GitFileState> - A constant List of the values in this enum, in order of their declaration.