blob: 69476d310c5316951aa1e9c34506929507636836 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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 Checkout(string repoPath, string remote, string branch, string commit);
Task<string[]> ListTree(string repoPath, string hash, string filterPath = ".");
Task<byte[]> CatFile(string repoPath, string hash, string fileName);
}
|