blob: 69cffa38eb50c79126a1c330816e99ffbaf8c4fb (
plain)
1
2
3
4
5
6
7
8
9
10
|
namespace marlin.core.functional;
public interface IGitClient
{
Task<Dictionary<string, string>> GetRemoteRefs(string remote);
Task Init(string repoPath);
Task FetchTrees(string repoPath, string remote, IEnumerable<string> refs, bool skipBlobs = false);
Task<string[]> ListTree(string repoPath, string hash, string filterPath = ".");
Task<byte[]> CatFile(string repoPath, string hash, string fileName);
}
|