Example of getting content

This commit is contained in:
Kristian Hellang
2014-03-19 00:08:56 +01:00
committed by Haacked
parent bed18b9980
commit e9969d7350
13 changed files with 289 additions and 51 deletions
@@ -1,9 +1,14 @@
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Octokit
{
public interface IRepositoryContentsClient
{
Task<IReadOnlyList<DirectoryContent>> GetRoot(string owner, string name);
Task<IReadOnlyList<DirectoryContent>> GetForPath(string owner, string name, string path);
/// <summary>
/// Gets the preferred README for the specified repository.
/// </summary>