using System; using System.Diagnostics.CodeAnalysis; namespace Octokit.Reactive { public interface IObservableRepositoryCommitsClient { /// /// Compare two references in a repository /// /// The owner of the repository /// The name of the repository /// The reference to use as the base commit /// The reference to use as the head commit /// [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "base")] IObservable Compare(string owner, string name, string @base, string @head); /// /// Gets all commits for a given repository /// /// The owner of the repository /// The name of the repository /// IObservable GetAll(string owner, string name); /// /// Gets all commits for a given repository /// /// The owner of the repository /// The name of the repository /// Used to filter list of commits returned /// IObservable GetAll(string owner, string name, CommitRequest request); } }