Class GitHubUtils
Provides utility methods for interacting with GitHub repositories, such as retrieving commit information.
public static class GitHubUtils
- Inheritance
-
GitHubUtils
Remarks
This class includes methods that utilize the GitHub REST API to perform operations like fetching commit details. It is designed to handle common tasks related to GitHub repositories, facilitating easier integration with GitHub data.
Methods
- CommitsToString(IEnumerable<CommitInfo>)
Converts a collection of GitHubUtils.CommitInfo to a formatted string.
- GetCommitsAsync(string, string, DateTime, DateTime?, string?, string?)
Retrieves commits from a GitHub repository within a specified time range. Handles pagination for repositories with many commits.
- ShowCommitsForAlternetUI()
Logs the commit history for the AlternetUI repository from the last 7 days.
- ShowCommitsForAlternetUI(int, string?)
Displays a dialog showing the commits for the AlternetUI repository within the specified number of days.