Class GitConfigResponse
The effective Git configuration without secret values.
public record GitConfigResponse : IEquatable<GitConfigResponse>
- Inheritance
-
GitConfigResponse
- Implements
- Inherited Members
Constructors
GitConfigResponse(string, int, string?, string?, bool, bool, string, string, string, bool)
The effective Git configuration without secret values.
public GitConfigResponse(string Branch, int CommitThrottleSeconds, string? RemoteUrl, string? Username, bool HasToken, bool HasSshPrivateKey, string AuthMode, string CommitAuthorName, string CommitAuthorEmail, bool IsRemoteConfigured)
Parameters
BranchstringThe configured Git branch.
CommitThrottleSecondsintThe number of seconds Nexus waits before committing configuration changes.
RemoteUrlstringThe configured remote Git repository URL.
UsernamestringThe configured HTTPS username.
HasTokenboolA value indicating whether an HTTPS token is configured.
HasSshPrivateKeyboolA value indicating whether an SSH private key is configured.
AuthModestringThe authentication mode inferred from the remote URL.
CommitAuthorNamestringThe Git commit author name.
CommitAuthorEmailstringThe Git commit author email.
IsRemoteConfiguredboolA value indicating whether remote backup has enough configuration to push.
Properties
AuthMode
The authentication mode inferred from the remote URL.
public string AuthMode { get; init; }
Property Value
Branch
The configured Git branch.
public string Branch { get; init; }
Property Value
CommitAuthorEmail
The Git commit author email.
public string CommitAuthorEmail { get; init; }
Property Value
CommitAuthorName
The Git commit author name.
public string CommitAuthorName { get; init; }
Property Value
CommitThrottleSeconds
The number of seconds Nexus waits before committing configuration changes.
public int CommitThrottleSeconds { get; init; }
Property Value
HasSshPrivateKey
A value indicating whether an SSH private key is configured.
public bool HasSshPrivateKey { get; init; }
Property Value
HasToken
A value indicating whether an HTTPS token is configured.
public bool HasToken { get; init; }
Property Value
IsRemoteConfigured
A value indicating whether remote backup has enough configuration to push.
public bool IsRemoteConfigured { get; init; }
Property Value
RemoteUrl
The configured remote Git repository URL.
public string? RemoteUrl { get; init; }
Property Value
Username
The configured HTTPS username.
public string? Username { get; init; }