CommitKind Enum
The type of a commit. This is used to describe the context in which the commit was created.
Signature
export declare enum CommitKind
Flags
Flag | Description |
---|---|
Default | A commit corresponding to a change that is not the result of an undo/redo from this client. |
Redo | A commit that is the result of a redo from this client. |
Undo | A commit that is the result of an undo from this client. |
Default
A commit corresponding to a change that is not the result of an undo/redo from this client.
Signature
Default = 0
Redo
A commit that is the result of a redo from this client.
Signature
Redo = 2
Undo
A commit that is the result of an undo from this client.
Signature
Undo = 1