The API design shown at https://github.com/libgit2/libgit2sharp/wiki/Home was last updated in 2011 (commit 338eace3f55ebb22d787012923c219e7c9e03755). If one tries to use it as a guide/manual one will find that the compiler takes issue with several methods missing (for example repo.Commits.StartingAt). It seems like it needs to be updated to match the current code base.
Reproduction steps
Open a new solution in Visal Studio Professional 2017.
Download the libgit2sharp NuGet packages.
Copy and paste the API design code from the wiki home page.
Hit compile.
Expected behavior
The code compiles.
Actual behavior
Compilation errors due to missing methods and properties.
Version of LibGit2Sharp (release number or SHA1)
NuGet-packages:
LibGit2Sharp v0.26.2
LibGit2Sharp.NativBinaries v2.0.314
Operating system(s) tested; .NET runtime tested
.NET Framework 4.6.1
Computer:
Utgåva (Edition) Windows 10 Pro
Version 20H2
Installerad (Installed) 2021-09-01
OS-version 19042.1348
Gränssnitt (Interface) Windows Feature Experience Pack 120.2212.3920.0
It's pseudocode, these methods never existed. StartingAt would mean something like "search the list until you find a commit with this sha then return that commit and all commits after it."
The API design shown at https://github.com/libgit2/libgit2sharp/wiki/Home was last updated in 2011 (commit 338eace3f55ebb22d787012923c219e7c9e03755). If one tries to use it as a guide/manual one will find that the compiler takes issue with several methods missing (for example repo.Commits.StartingAt). It seems like it needs to be updated to match the current code base.
Reproduction steps
Expected behavior
The code compiles.
Actual behavior
Compilation errors due to missing methods and properties.
Version of LibGit2Sharp (release number or SHA1)
NuGet-packages:
Operating system(s) tested; .NET runtime tested
.NET Framework 4.6.1
Computer: Utgåva (Edition) Windows 10 Pro Version 20H2 Installerad (Installed) 2021-09-01 OS-version 19042.1348 Gränssnitt (Interface) Windows Feature Experience Pack 120.2212.3920.0