blob: be7275fecff5085bab245f239b0647d2bf8ac3af (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using LibGit;
using LibGit.Extensions;
namespace LibGitTest;
public class Test3
{
public static async Task Run()
{
var repo = new GitRepo(new FileRepoSource(@"/home/root@Rory/tmpgit/fosscord-server.git"));
var packs = repo.GetPacks().GetAsyncEnumerator();
while(await packs.MoveNextAsync())
{
Console.WriteLine(packs.Current.ToJson());
}
}
}
|