MCPcopy
hub / github.com/cli/cli / ListLabels

Method ListLabels

pkg/cmd/discussion/client/client.go:39–39  ·  view source on GitHub ↗

ListLabels returns the labels available in a repository.

(repo ghrepo.Interface)

Source from the content-addressed store, hash-verified

37 ListCategories(repo ghrepo.Interface) ([]DiscussionCategory, error)
38 // ListLabels returns the labels available in a repository.
39 ListLabels(repo ghrepo.Interface) ([]DiscussionLabel, error)
40 // Create creates a discussion. The returned discussion may be non-nil even
41 // when err is non-nil, indicating a secondary mutation failure (e.g., labels).
42 Create(repo ghrepo.Interface, input CreateDiscussionInput) (*Discussion, error)

Callers 3

TestListLabelsFunction · 0.65
createRunFunction · 0.65
editRunFunction · 0.65

Implementers 2

DiscussionClientMockpkg/cmd/discussion/client/client_mock.
discussionClientpkg/cmd/discussion/client/client.go

Calls

no outgoing calls

Tested by 1

TestListLabelsFunction · 0.52