GitSubmoduleUpdate enum

Submodule update values

These values represent settings for the submodule.$name.update configuration value which says how to handle git submodule update for this submodule. The value is usually set in the .gitmodules file and copied to .git/config when the submodule is initialized.

Inheritance
Available extensions

Values

checkout → const GitSubmoduleUpdate

The default; when a submodule is updated, checkout the new detached HEAD to the submodule directory.

const GitSubmoduleUpdate(1)
rebase → const GitSubmoduleUpdate

Update by rebasing the current checked out branch onto the commit from the superproject.

const GitSubmoduleUpdate(2)
merge → const GitSubmoduleUpdate

Update by merging the commit in the superproject into the current checkout out branch of the submodule.

const GitSubmoduleUpdate(3)
none → const GitSubmoduleUpdate

Do not update this submodule even when the commit in the superproject is updated.

const GitSubmoduleUpdate(4)

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) GitSubmoduleUpdate

Constants

values → const List<GitSubmoduleUpdate>
A constant List of the values in this enum, in order of their declaration.