| 30 | } |
| 31 | |
| 32 | type FetcherInterface interface { |
| 33 | FetchTokenScopes(ctx context.Context, token string) ([]string, error) |
| 34 | } |
| 35 | |
| 36 | // Fetcher retrieves token scopes from GitHub's API. |
| 37 | // It uses an HTTP HEAD request to minimize bandwidth since we only need headers. |
no outgoing calls
no test coverage detected