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()); } } }