MCPcopy Create free account
hub / github.com/cli/cli / UpdateCommentCalls

Method UpdateCommentCalls

pkg/cmd/discussion/client/client_mock.go:783–797  ·  view source on GitHub ↗

UpdateCommentCalls gets all the calls that were made to UpdateComment. Check the length with: len(mockedDiscussionClient.UpdateCommentCalls())

()

Source from the content-addressed store, hash-verified

781//
782// len(mockedDiscussionClient.UpdateCommentCalls())
783func (mock *DiscussionClientMock) UpdateCommentCalls() []struct {
784 Repo ghrepo.Interface
785 CommentID string
786 Body string
787} {
788 var calls []struct {
789 Repo ghrepo.Interface
790 CommentID string
791 Body string
792 }
793 mock.lockUpdateComment.RLock()
794 calls = mock.calls.UpdateComment
795 mock.lockUpdateComment.RUnlock()
796 return calls
797}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected