MCPcopy Create free account
hub / github.com/apache/devlake / GetScopeList

Function GetScopeList

backend/plugins/gh-copilot/api/scope.go:37–39  ·  view source on GitHub ↗

GetScopeList retrieves scopes for a connection with optional pagination.

(input *plugin.ApiResourceInput)

Source from the content-addressed store, hash-verified

35
36// GetScopeList retrieves scopes for a connection with optional pagination.
37func GetScopeList(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
38 return dsHelper.ScopeApi.GetPage(input)
39}
40
41// GetScope returns the scope detail for a given scope ID.
42func GetScope(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {

Callers

nothing calls this directly

Calls 1

GetPageMethod · 0.45

Tested by

no test coverage detected