RepositoryCommit Class

Represents the current state of a repository (commit hash in Git).

Inheritance Hierarchy

Syntax

public class RepositoryCommit : IEquatable<T>

Constructors

Name Description
RepositoryCommit

Initializes a new instance of the RepositoryCommit class.

Methods

Name Description
Equals(object obj)
GetFriendlyDescription

Returns a string describing the commit that is intended to be displayed to the user or in logs.

GetHashCode

Returns an integer suitable for use in a hashtable.

GetRuntimeVariables

Returns a dictionary of variables to make available to build trigger executions.

ToString

Returns a compact string representation of the commit.