Multi-Platform Package Manager for Stable Diffusion
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
526 B

using Octokit;
using Refit;
using StabilityMatrix.Core.Models.Database;
namespace StabilityMatrix.Core.Helper.Cache;
public interface IGithubApiCache
{
Task<IEnumerable<Release>> GetAllReleases(string username, string repository);
Task<IEnumerable<Branch>> GetAllBranches(string username, string repository);
Task<IEnumerable<GitCommit>?> GetAllCommits(
string username,
string repository,
string branch,
int page = 1,
[AliasAs("per_page")] int perPage = 10
);
}