編輯

共用方式為


GitBranchStats interface

Ahead and behind counts for a particular ref.

Properties

aheadCount

Number of commits ahead.

behindCount

Number of commits behind.

commit

Current commit.

isBaseVersion

True if this is the result for the base version.

name

Name of the ref.

Property Details

aheadCount

Number of commits ahead.

aheadCount: number

Property Value

number

behindCount

Number of commits behind.

behindCount: number

Property Value

number

commit

Current commit.

commit: GitCommitRef

Property Value

isBaseVersion

True if this is the result for the base version.

isBaseVersion: boolean

Property Value

boolean

name

Name of the ref.

name: string

Property Value

string