SetV3Client sets a REST API client used to implement functionality missing in the GraphQL API. Without a V3 client, the applier will fail on patches that modify binary and very large files.
(client *github.Client)
| 64 | // in the GraphQL API. Without a V3 client, the applier will fail on patches |
| 65 | // that modify binary and very large files. |
| 66 | func (a *GraphQLApplier) SetV3Client(client *github.Client) { |
| 67 | a.v3client = client |
| 68 | } |
| 69 | |
| 70 | // Apply applies the changes in a file, adding the result to the list of |
| 71 | // pending file changes. It does not modify the repository. |
no outgoing calls