MCPcopy
hub / github.com/cli/cli / GetCommentReplies

Method GetCommentReplies

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

GetCommentReplies returns a comment's parent discussion along with a page of the comment's replies.

(host string, commentID string, limit int, after string, newest bool)

Source from the content-addressed store, hash-verified

33 GetWithComments(repo ghrepo.Interface, number int32, commentLimit int, after string, newest bool) (*Discussion, error)
34 // GetCommentReplies returns a comment's parent discussion along with a page of the comment's replies.
35 GetCommentReplies(host string, commentID string, limit int, after string, newest bool) (*Discussion, error)
36 // ListCategories returns the discussion categories available in a repository.
37 ListCategories(repo ghrepo.Interface) ([]DiscussionCategory, error)
38 // ListLabels returns the labels available in a repository.

Callers 2

TestGetCommentRepliesFunction · 0.65
viewRunFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 1

TestGetCommentRepliesFunction · 0.52