MCPcopy Index your code
hub / github.com/git-bug/git-bug / updateGithubIssueBody

Method updateGithubIssueBody

bridge/github/export.go:718–730  ·  view source on GitHub ↗
(ctx context.Context, gc *rateLimitHandlerClient, id string, body string)

Source from the content-addressed store, hash-verified

716}
717
718func (ge *githubExporter) updateGithubIssueBody(ctx context.Context, gc *rateLimitHandlerClient, id string, body string) error {
719 m := &updateIssueMutation{}
720 input := githubv4.UpdateIssueInput{
721 ID: id,
722 Body: (*githubv4.String)(&body),
723 }
724
725 if err := gc.mutate(ctx, m, input, nil, ge.out); err != nil {
726 return err
727 }
728
729 return nil
730}
731
732func (ge *githubExporter) updateGithubIssueTitle(ctx context.Context, gc *rateLimitHandlerClient, id, title string) error {
733 m := &updateIssueMutation{}

Callers 1

exportBugMethod · 0.95

Calls 1

mutateMethod · 0.80

Tested by

no test coverage detected