mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-19 05:35:11 +00:00
Moved GetReadme and GetReadmeHtml to Contents
This commit is contained in:
committed by
Haacked
parent
790c07da30
commit
bed18b9980
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
|
||||
namespace Octokit.Reactive
|
||||
{
|
||||
public interface IObservableRepositoryContentsClient
|
||||
{
|
||||
/// <summary>
|
||||
/// Returns the HTML rendered README.
|
||||
/// </summary>
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <returns></returns>
|
||||
IObservable<Readme> GetReadme(string owner, string name);
|
||||
|
||||
/// <summary>
|
||||
/// Returns just the HTML portion of the README without the surrounding HTML document.
|
||||
/// </summary>
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <returns></returns>
|
||||
IObservable<string> GetReadmeHtml(string owner, string name);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user