Class GitHistoryEntry
A Git commit in the configuration history.
public record GitHistoryEntry : IEquatable<GitHistoryEntry>
- Inheritance
-
GitHistoryEntry
- Implements
- Inherited Members
Constructors
GitHistoryEntry(string, string, DateTime, string, string, string)
A Git commit in the configuration history.
public GitHistoryEntry(string Sha, string ShortSha, DateTime Date, string AuthorName, string AuthorEmail, string Message)
Parameters
ShastringThe full commit SHA.
ShortShastringThe abbreviated commit SHA.
DateDateTimeThe commit date.
AuthorNamestringThe commit author name.
AuthorEmailstringThe commit author email.
MessagestringThe commit message.
Properties
AuthorEmail
The commit author email.
public string AuthorEmail { get; init; }
Property Value
AuthorName
The commit author name.
public string AuthorName { get; init; }
Property Value
Date
The commit date.
public DateTime Date { get; init; }
Property Value
Message
The commit message.
public string Message { get; init; }
Property Value
Sha
The full commit SHA.
public string Sha { get; init; }
Property Value
ShortSha
The abbreviated commit SHA.
public string ShortSha { get; init; }