MCPcopy Create free account
hub / github.com/monitoror/monitoror / GetCount

Method GetCount

monitorables/github/api/repository/api.go:66–73  ·  view source on GitHub ↗
(query string)

Source from the content-addressed store, hash-verified

64}
65
66func (gr *githubRepository) GetCount(query string) (int, error) {
67 issuesResult, _, err := gr.searchService.Issues(context.TODO(), query, nil)
68 if err != nil {
69 return 0, err
70 }
71
72 return issuesResult.GetTotal(), err
73}
74
75func (gr *githubRepository) GetChecks(owner, repository, ref string) (*models.Checks, error) {
76 checks := &models.Checks{Runs: []models.Run{}, Statuses: []models.Status{}}

Callers

nothing calls this directly

Calls 1

IssuesMethod · 0.65

Tested by

no test coverage detected