編輯

共用方式為


GitRefUpdateResult interface

Properties

customMessage

Custom message for the result object For instance, Reason for failing.

isLocked

Whether the ref is locked or not

name

Ref name

newObjectId

New object ID

oldObjectId

Old object ID

rejectedBy

Name of the plugin that rejected the updated.

repositoryId

Repository ID

success

True if the ref update succeeded, false otherwise

updateStatus

Status of the update from the TFS server.

Property Details

customMessage

Custom message for the result object For instance, Reason for failing.

customMessage: string

Property Value

string

isLocked

Whether the ref is locked or not

isLocked: boolean

Property Value

boolean

name

Ref name

name: string

Property Value

string

newObjectId

New object ID

newObjectId: string

Property Value

string

oldObjectId

Old object ID

oldObjectId: string

Property Value

string

rejectedBy

Name of the plugin that rejected the updated.

rejectedBy: string

Property Value

string

repositoryId

Repository ID

repositoryId: string

Property Value

string

success

True if the ref update succeeded, false otherwise

success: boolean

Property Value

boolean

updateStatus

Status of the update from the TFS server.

updateStatus: GitRefUpdateStatus

Property Value