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

Method GetWithCommentsCalls

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

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

()

Source from the content-addressed store, hash-verified

513//
514// len(mockedDiscussionClient.GetWithCommentsCalls())
515func (mock *DiscussionClientMock) GetWithCommentsCalls() []struct {
516 Repo ghrepo.Interface
517 Number int32
518 CommentLimit int
519 After string
520 Newest bool
521} {
522 var calls []struct {
523 Repo ghrepo.Interface
524 Number int32
525 CommentLimit int
526 After string
527 Newest bool
528 }
529 mock.lockGetWithComments.RLock()
530 calls = mock.calls.GetWithComments
531 mock.lockGetWithComments.RUnlock()
532 return calls
533}
534
535// List calls ListFunc.
536func (mock *DiscussionClientMock) List(repo ghrepo.Interface, filters ListFilters, after string, limit int) (*DiscussionListResult, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected