Partilhar via


TeamFoundationGitCommitService Class

This collection-level service is the entry point for all Git functionality with cached commit metadata.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Git.Server.TeamFoundationGitCommitService

Namespace:  Microsoft.TeamFoundation.Git.Server
Assembly:  Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)

Syntax

'Declaration
Public Class TeamFoundationGitCommitService _
    Implements ITeamFoundationGitCommitService, ITeamFoundationService
public class TeamFoundationGitCommitService : ITeamFoundationGitCommitService, 
    ITeamFoundationService
public ref class TeamFoundationGitCommitService : ITeamFoundationGitCommitService, 
    ITeamFoundationService
type TeamFoundationGitCommitService =  
    class 
        interface ITeamFoundationGitCommitService 
        interface ITeamFoundationService 
    end
public class TeamFoundationGitCommitService implements ITeamFoundationGitCommitService, ITeamFoundationService

The TeamFoundationGitCommitService type exposes the following members.

Constructors

  Name Description
Public method TeamFoundationGitCommitService

Top

Properties

  Name Description
Public property ProcessingJobTimeout Amount of time to spend processing commits in a job

Top

Methods

  Name Description
Public method DiffCommitLineages
Public method DiffCommitLineagesAgainstCommits
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetCommitManifest Get manifest for a given commit that shows files changed in the commit.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetPushCommits
Public method GetPushData
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method MarkProcessedCommits
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method QueryCommitAuthors Get the distinct commit authors from this repository along with optional count information for the number of commits each has made
Public method QueryCommitHistory
Public method QueryCommitItems Get items under a given path, with the last commit performed on each item.
Public method QueryPushHistory
Public method QueryUnprocessedCommits
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Git.Server Namespace