diff --git a/Octokit/Clients/IRepositoryContentsClient.cs b/Octokit/Clients/IRepositoryContentsClient.cs index dc28614b..88eeb4ca 100644 --- a/Octokit/Clients/IRepositoryContentsClient.cs +++ b/Octokit/Clients/IRepositoryContentsClient.cs @@ -14,7 +14,6 @@ namespace Octokit /// Returns the contents of a file or directory in a repository. /// /// - /// If given a path to a single file, this method returns a collection containing only that file. /// See the API documentation for more information. /// /// The owner of the repository @@ -25,11 +24,12 @@ namespace Octokit /// Task> GetAllContents(string owner, string name, string path); - /// /// Returns the contents of the root directory in a repository. /// /// + /// See the API documentation for more information. + /// /// The owner of the repository /// The name of the repository /// @@ -41,7 +41,6 @@ namespace Octokit /// Returns the contents of a file or directory in a repository. /// /// - /// If given a path to a single file, this method returns a collection containing only that file. /// See the API documentation for more information. /// /// The owner of the repository @@ -57,6 +56,9 @@ namespace Octokit /// Returns the contents of the root directory in a repository. /// /// + /// If given a path to a single file, this method returns a collection containing only that file. + /// See the API documentation for more information. + /// /// The owner of the repository /// The name of the repository /// The name of the commit/branch/tag. Default: the repository’s default branch (usually master) diff --git a/Octokit/Clients/RepositoryContentsClient.cs b/Octokit/Clients/RepositoryContentsClient.cs index 008151cf..fa879f37 100644 --- a/Octokit/Clients/RepositoryContentsClient.cs +++ b/Octokit/Clients/RepositoryContentsClient.cs @@ -21,7 +21,6 @@ namespace Octokit /// Returns the contents of a file or directory in a repository. /// /// - /// If given a path to a single file, this method returns a collection containing only that file. /// See the API documentation for more information. /// /// The owner of the repository @@ -44,6 +43,8 @@ namespace Octokit /// Returns the contents of the root directory in a repository. /// /// + /// See the API documentation for more information. + /// /// The owner of the repository /// The name of the repository /// @@ -86,10 +87,13 @@ namespace Octokit return await ApiConnection.GetAll(url); } + /// /// Returns the contents of the root directory in a repository. /// /// + /// See the API documentation for more information. + /// /// The owner of the repository /// The name of the repository /// The name of the commit/branch/tag. Default: the repository�s default branch (usually master)