tgstation-server 6.19.1
The /tg/station 13 server suite
Loading...
Searching...
No Matches
DefaultGitRemoteFeatures.cs
Go to the documentation of this file.
1using System;
2using System.Threading;
3using System.Threading.Tasks;
4
6
8{
13 {
15 public string TestMergeRefSpecFormatter => throw new NotSupportedException();
16
18 public string TestMergeLocalBranchNameFormatter => throw new NotSupportedException();
19
21 public RemoteGitProvider? RemoteGitProvider => Api.Models.RemoteGitProvider.Unknown;
22
24 public string? RemoteRepositoryOwner => null;
25
27 public string? RemoteRepositoryName => null;
28
30 public ValueTask<Models.TestMerge> GetTestMerge(
31 TestMergeParameters parameters,
32 RepositorySettings repositorySettings,
33 CancellationToken cancellationToken) => throw new NotSupportedException();
34
36 public ValueTask<string?> TransformRepositoryPassword(string? rawPassword, CancellationToken cancellationToken)
37 => ValueTask.FromResult(rawPassword);
38 }
39}
Represents configurable settings for a git repository.
ValueTask< Models.TestMerge > GetTestMerge(TestMergeParameters parameters, RepositorySettings repositorySettings, CancellationToken cancellationToken)
Retrieve the Models.TestMerge representation of given test merge parameters .A ValueTask<TResult> res...
string? RemoteRepositoryOwner
If RemoteGitProvider is not RemoteGitProvider.Unknown this will be set with the owner of the reposito...
ValueTask< string?> TransformRepositoryPassword(string? rawPassword, CancellationToken cancellationToken)
Transform a service's rawPassword into a password usable by git.A ValueTask<TResult> resulting in th...
string? RemoteRepositoryName
If RemoteGitProvider is not RemoteGitProvider.Unknown this will be set with the name of the repositor...
string TestMergeRefSpecFormatter
Gets a formatter string which creates the remote refspec for fetching the HEAD of passed in test merg...
RemoteGitProvider
Indicates the remote git host.