tgstation-server 6.3.0
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 Api.Models.Internal.RepositorySettings repositorySettings,
33 CancellationToken cancellationToken) => throw new NotSupportedException();
34 }
35}
Parameters for creating a TestMerge.
string? RemoteRepositoryOwner
If RemoteGitProvider is not RemoteGitProvider.Unknown this will be set with the owner of the reposito...
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...
ValueTask< Models.TestMerge > GetTestMerge(TestMergeParameters parameters, Api.Models.Internal.RepositorySettings repositorySettings, CancellationToken cancellationToken)
RemoteGitProvider
Indicates the remote git host.