mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 11:40:42 +00:00
Get the SHA-1 of a commit reference
Updated RepositoryCommitsClients and unit/integration tests
This commit is contained in:
@@ -50,5 +50,14 @@ namespace Octokit
|
||||
/// <param name="request">Used to filter list of commits returned</param>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<GitHubCommit>> GetAll(string owner, string name, CommitRequest request);
|
||||
|
||||
/// <summary>
|
||||
/// Get the SHA-1 of a commit reference
|
||||
/// </summary>
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="reference">The repository reference</param>
|
||||
/// <returns></returns>
|
||||
Task<string> Sha1(string owner, string name, string reference);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user