(httpClient *http.Client, repo ghrepo.Interface, limit int, includeParents bool)
| 28 | } |
| 29 | |
| 30 | func ListRepoRulesets(httpClient *http.Client, repo ghrepo.Interface, limit int, includeParents bool) (*RulesetList, error) { |
| 31 | variables := map[string]interface{}{ |
| 32 | "owner": repo.RepoOwner(), |
| 33 | "repo": repo.RepoName(), |
| 34 | "includeParents": includeParents, |
| 35 | } |
| 36 | |
| 37 | return listRulesets(httpClient, rulesetsQuery(false), variables, limit, repo.RepoHost()) |
| 38 | } |
| 39 | |
| 40 | func ListOrgRulesets(httpClient *http.Client, orgLogin string, limit int, host string, includeParents bool) (*RulesetList, error) { |
| 41 | variables := map[string]interface{}{ |
no test coverage detected