Client is GitHub-specific implementation of RepoClient.
| 45 | |
| 46 | // Client is GitHub-specific implementation of RepoClient. |
| 47 | type Client struct { |
| 48 | repourl *Repo |
| 49 | repo *github.Repository |
| 50 | repoClient *github.Client |
| 51 | graphClient *graphqlHandler |
| 52 | contributors *contributorsHandler |
| 53 | branches *branchesHandler |
| 54 | releases *releasesHandler |
| 55 | workflows *workflowsHandler |
| 56 | checkruns *checkrunsHandler |
| 57 | statuses *statusesHandler |
| 58 | search *searchHandler |
| 59 | searchCommits *searchCommitsHandler |
| 60 | webhook *webhookHandler |
| 61 | languages *languagesHandler |
| 62 | licenses *licensesHandler |
| 63 | git *gitfile.Handler |
| 64 | ctx context.Context |
| 65 | tarball tarballHandler |
| 66 | commitDepth int |
| 67 | gitMode bool |
| 68 | } |
| 69 | |
| 70 | // WithFileModeGit configures the repo client to fetch files using git. |
| 71 | func WithFileModeGit() Option { |
nothing calls this directly
no outgoing calls
no test coverage detected