tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ILibGit2RepositoryFactory.cs
Go to the documentation of this file.
1using System;
2using System.Threading;
3using System.Threading.Tasks;
4
5using LibGit2Sharp;
6
8{
13 {
19
26 ValueTask<LibGit2Sharp.IRepository> CreateFromPath(string path, CancellationToken cancellationToken);
27
36 Task Clone(Uri url, CloneOptions cloneOptions, string path, CancellationToken cancellationToken);
37 }
38}
Task Clone(Uri url, CloneOptions cloneOptions, string path, CancellationToken cancellationToken)
Clone a remote LibGit2Sharp.IRepository.
void CreateInMemory()
Create and destory an in-memeory LibGit2Sharp.IRepository.
ValueTask< LibGit2Sharp.IRepository > CreateFromPath(string path, CancellationToken cancellationToken)
Load a LibGit2Sharp.IRepository from a given path .