MCPcopy Index your code
hub / github.com/cli/cli / ResolveCommentNodeID

Method ResolveCommentNodeID

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

ResolveCommentNodeID constructs a discussion comment node ID from a repository and a comment database ID (the numeric ID from the URL fragment).

(repo ghrepo.Interface, commentDatabaseID int64)

Source from the content-addressed store, hash-verified

55 // ResolveCommentNodeID constructs a discussion comment node ID from a
56 // repository and a comment database ID (the numeric ID from the URL fragment).
57 ResolveCommentNodeID(repo ghrepo.Interface, commentDatabaseID int64) (string, error)
58}
59
60// maxPageSize is the maximum number of items per page allowed by the GitHub GraphQL API.

Callers 3

TestResolveCommentNodeIDFunction · 0.65
resolveCommentNodeIDFunction · 0.65
resolveCommentIDFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 1

TestResolveCommentNodeIDFunction · 0.52