MCPcopy Create free account
hub / github.com/bluekeyes/patch2pr / SetV3Client

Method SetV3Client

graphql_applier.go:66–68  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

64// in the GraphQL API. Without a V3 client, the applier will fail on patches
65// that modify binary and very large files.
66func (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.

Callers 1

runGraphQLPatchTestFunction · 0.95

Calls

no outgoing calls

Tested by 1

runGraphQLPatchTestFunction · 0.76