tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Components
Repository
ILibGit2RepositoryFactory.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Threading;
3
using
System.Threading.Tasks;
4
5
using
LibGit2Sharp;
6
7
namespace
Tgstation.Server.Host.Components.Repository
8
{
12
interface
ILibGit2RepositoryFactory
:
ICredentialsProvider
13
{
18
void
CreateInMemory
();
19
26
ValueTask<LibGit2Sharp.IRepository>
CreateFromPath
(
string
path, CancellationToken cancellationToken);
27
36
Task
Clone
(Uri url, CloneOptions cloneOptions,
string
path, CancellationToken cancellationToken);
37
}
38
}
Tgstation.Server.Host.Components.Repository.ICredentialsProvider
For generating CredentialsHandlers.
Definition
ICredentialsProvider.cs:12
Tgstation.Server.Host.Components.Repository.ILibGit2RepositoryFactory
Factory for creating LibGit2Sharp.IRepositorys.
Definition
ILibGit2RepositoryFactory.cs:13
Tgstation.Server.Host.Components.Repository.ILibGit2RepositoryFactory.Clone
Task Clone(Uri url, CloneOptions cloneOptions, string path, CancellationToken cancellationToken)
Clone a remote LibGit2Sharp.IRepository.
Tgstation.Server.Host.Components.Repository.ILibGit2RepositoryFactory.CreateInMemory
void CreateInMemory()
Create and destory an in-memeory LibGit2Sharp.IRepository.
Tgstation.Server.Host.Components.Repository.ILibGit2RepositoryFactory.CreateFromPath
ValueTask< LibGit2Sharp.IRepository > CreateFromPath(string path, CancellationToken cancellationToken)
Load a LibGit2Sharp.IRepository from a given path .
Tgstation.Server.Host.Components.Repository
Definition
DefaultGitRemoteFeatures.cs:8
Generated by
1.9.8