Language
Edit

GitBranchStats Class

Definition

Ahead and behind counts for a particular ref.

[System.Runtime.Serialization.DataContract]
public class GitBranchStats : Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlSecuredObject
type GitBranchStats = class
    inherit VersionControlSecuredObject
Public Class GitBranchStats
Inherits VersionControlSecuredObject
Inheritance
Attributes

Constructors

Name Description
GitBranchStats()
GitBranchStats(GitCommit, String)
GitBranchStats(GitCommitRef, String, Int32, Int32, ISecuredObject)
GitBranchStats(GitCommitRef, String, Int32, Int32)
GitBranchStats(GitCommitRef, String, ISecuredObject)

Properties

Name Description
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.

Methods

Name Description
SetSecuredObject(ISecuredObject)

Explicit Interface Implementations

Name Description
ISecuredObject.GetToken() (Inherited from VersionControlSecuredObject)
ISecuredObject.NamespaceId (Inherited from VersionControlSecuredObject)
ISecuredObject.RequiredPermissions (Inherited from VersionControlSecuredObject)

Applies to