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

Method ListLabelsCalls

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

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

()

Source from the content-addressed store, hash-verified

629//
630// len(mockedDiscussionClient.ListLabelsCalls())
631func (mock *DiscussionClientMock) ListLabelsCalls() []struct {
632 Repo ghrepo.Interface
633} {
634 var calls []struct {
635 Repo ghrepo.Interface
636 }
637 mock.lockListLabels.RLock()
638 calls = mock.calls.ListLabels
639 mock.lockListLabels.RUnlock()
640 return calls
641}
642
643// ResolveCommentNodeID calls ResolveCommentNodeIDFunc.
644func (mock *DiscussionClientMock) ResolveCommentNodeID(repo ghrepo.Interface, commentDatabaseID int64) (string, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected