Skip to main content

CommitMetadata Interface

Information about a commit that has been applied.

Signature

/** @sealed */
export interface CommitMetadata

Properties

Property Modifiers Type Description
isLocal readonly boolean Indicates whether the commit is a local edit
kind readonly CommitKind A CommitKind enum value describing whether the commit represents an Edit, an Undo, or a Redo.

Property Details

isLocal

Indicates whether the commit is a local edit

Signature

readonly isLocal: boolean;

Type: boolean

kind

A CommitKind enum value describing whether the commit represents an Edit, an Undo, or a Redo.

Signature

readonly kind: CommitKind;

Type: CommitKind