Info
| Version: | 1.3.0 |
| Author(s): | Peter Broekhuizen |
| Last Update: | Wednesday, April 17, 2019 |
| .NET Fiddle: | Create the first Fiddle |
| NuGet Url: | https://www.nuget.org/packages/GitGetter.Interfaces |
Install
Install-Package GitGetter.Interfaces
dotnet add package GitGetter.Interfaces
paket add GitGetter.Interfaces
GitGetter.Interfaces Download (Unzip the "nupkg" after downloading)
1) IGitGetter (uses IErrorReporter, see below)
Consists of:
- (DateTime date, string branch)[] BranchesByLastCommitDate(string projectPath, IErrorReporter reporter);
- string[] MergedBranches(string branch, IEnumerable<string> branches, string projectPath, IErrorReporter reporter);
- string[] NotMergedBranches(string branch, IEnumerable<string> branches, string projectPath, IErrorReporter reporter);
- void Refresh(string projectPath, IErrorReporter reporter);
- string[] RemoteBranches(string projectPath, IErrorReporter reporter);
2) IErrorReporter
Consists of:
- void ClearError();
- bool HasError();
- void ShowError(string msg);.