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

Method editCommentGithubIssue

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

Source from the content-addressed store, hash-verified

675}
676
677func (ge *githubExporter) editCommentGithubIssue(ctx context.Context, gc *rateLimitHandlerClient, commentID, body string) (string, string, error) {
678 m := &updateIssueCommentMutation{}
679 input := githubv4.UpdateIssueCommentInput{
680 ID: commentID,
681 Body: githubv4.String(body),
682 }
683
684 if err := gc.mutate(ctx, m, input, nil, ge.out); err != nil {
685 return "", "", err
686 }
687
688 return commentID, m.UpdateIssueComment.IssueComment.URL, nil
689}
690
691func (ge *githubExporter) updateGithubIssueStatus(ctx context.Context, gc *rateLimitHandlerClient, id string, status common.Status) error {
692 m := &updateIssueMutation{}

Callers 1

exportBugMethod · 0.95

Calls 2

mutateMethod · 0.80
StringMethod · 0.65

Tested by

no test coverage detected