mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-20 14:15:12 +00:00
and the other docs
This commit is contained in:
@@ -95,7 +95,7 @@ namespace Octokit
|
||||
/// <remarks>https://developer.github.com/v3/repos/contents/#get-archive-link</remarks>
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <returns></returns>
|
||||
/// <returns>The binary contents of the archive</returns>
|
||||
public Task<byte[]> GetArchive(string owner, string name)
|
||||
{
|
||||
return GetArchive(owner, name, ArchiveFormat.Tarball, string.Empty);
|
||||
@@ -124,7 +124,7 @@ namespace Octokit
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="archiveFormat">The format of the archive. Can be either tarball or zipball</param>
|
||||
/// <returns></returns>
|
||||
/// <returns>The binary contents of the archive</returns>
|
||||
public Task<byte[]> GetArchive(string owner, string name, ArchiveFormat archiveFormat)
|
||||
{
|
||||
return GetArchive(owner, name, archiveFormat, string.Empty);
|
||||
@@ -158,7 +158,7 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="archiveFormat">The format of the archive. Can be either tarball or zipball</param>
|
||||
/// <param name="reference">A valid Git reference.</param>
|
||||
/// <returns></returns>
|
||||
/// <returns>The binary contents of the archive</returns>
|
||||
public async Task<byte[]> GetArchive(string owner, string name, ArchiveFormat archiveFormat, string reference)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
|
||||
Reference in New Issue
Block a user