Class GitStatusResponse
The current Git repository and push status required by the admin UI.
public record GitStatusResponse : IEquatable<GitStatusResponse>
- Inheritance
-
GitStatusResponse
- Implements
- Inherited Members
Constructors
GitStatusResponse(bool, bool, bool, string?, string?, DateTime?, GitPushStatus, string?)
The current Git repository and push status required by the admin UI.
public GitStatusResponse(bool GitAvailable, bool SshAvailable, bool HasUncommittedChanges, string? CurrentCommitSha, string? LastPushedCommitSha, DateTime? LastSuccessfulPushAt, GitPushStatus LastPushStatus, string? LastPushError)
Parameters
GitAvailableboolA value indicating whether the Git executable is available.
SshAvailableboolA value indicating whether the SSH executable is available.
HasUncommittedChangesboolA value indicating whether the local repository has uncommitted changes.
CurrentCommitShastringThe current commit SHA.
LastPushedCommitShastringThe last commit SHA successfully pushed by this process.
LastSuccessfulPushAtDateTime?The last successful push time.
LastPushStatusGitPushStatusThe last push status.
LastPushErrorstringThe last push error.
Properties
CurrentCommitSha
The current commit SHA.
public string? CurrentCommitSha { get; init; }
Property Value
GitAvailable
A value indicating whether the Git executable is available.
public bool GitAvailable { get; init; }
Property Value
HasUncommittedChanges
A value indicating whether the local repository has uncommitted changes.
public bool HasUncommittedChanges { get; init; }
Property Value
LastPushError
The last push error.
public string? LastPushError { get; init; }
Property Value
LastPushStatus
The last push status.
public GitPushStatus LastPushStatus { get; init; }
Property Value
LastPushedCommitSha
The last commit SHA successfully pushed by this process.
public string? LastPushedCommitSha { get; init; }
Property Value
LastSuccessfulPushAt
The last successful push time.
public DateTime? LastSuccessfulPushAt { get; init; }
Property Value
SshAvailable
A value indicating whether the SSH executable is available.
public bool SshAvailable { get; init; }