You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
recyclarr/src/TrashLib/Repo/VersionControl/IGitRepository.cs

14 lines
383 B

using System.IO.Abstractions;
namespace TrashLib.Repo.VersionControl;
public interface IGitRepository : IDisposable
{
Task ForceCheckout(string branch);
Task Fetch(string remote = "origin");
Task ResetHard(string toBranchOrSha1);
Task SetRemote(string name, string newUrl);
IDirectoryInfo Path { get; }
Task Clone(string cloneUrl, string? branch = null);
}