mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 19:46:07 +00:00
Code cleanup
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
@@ -17,7 +18,7 @@ namespace Octokit
|
||||
/// <param name="owner">The owner of the repository.</param>
|
||||
/// <param name="name">The name of the repository.</param>
|
||||
/// <param name="number">The id of the deploy key.</param>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")]
|
||||
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")]
|
||||
Task<DeployKey> Get(string owner, string name, int number);
|
||||
|
||||
/// <summary>
|
||||
@@ -41,19 +42,6 @@ namespace Octokit
|
||||
/// <param name="newDeployKey">The deploy key to create for the repository.</param>
|
||||
/// <returns></returns>
|
||||
Task<DeployKey> Create(string owner, string name, NewDeployKey newDeployKey);
|
||||
|
||||
/// <summary>
|
||||
/// Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="https://developer.github.com/v3/repos/keys/#edit"> API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
/// <param name="owner"></param>
|
||||
/// <param name="name"></param>
|
||||
/// <param name="number"></param>
|
||||
/// <param name="newDeployKey"></param>
|
||||
/// <returns></returns>
|
||||
/// Task<DeployKey> Update(string owner, string name, int number, NewDeployKey newDeployKey);
|
||||
|
||||
/// <summary>
|
||||
/// Deletes a deploy key from a repository.
|
||||
|
||||
Reference in New Issue
Block a user