interface GitRefUpdateResult {
    customMessage?: string;
    isLocked?: boolean;
    name?: string;
    newObjectId?: string;
    oldObjectId?: string;
    rejectedBy?: string;
    repositoryId?: string;
    success?: boolean;
    updateStatus?: GitRefUpdateStatus;
}

Properties

customMessage?: string

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

isLocked?: boolean

Whether the ref is locked or not

name?: string

Ref name

newObjectId?: string

New object ID

oldObjectId?: string

Old object ID

rejectedBy?: string

Name of the plugin that rejected the updated.

repositoryId?: string

Repository ID

success?: boolean

True if the ref update succeeded, false otherwise

updateStatus?: GitRefUpdateStatus

Status of the update from the TFS server.