MCPcopy
hub / github.com/gitalk/gitalk / getComments

Method getComments

src/gitalk.jsx:327–332  ·  view source on GitHub ↗
(issue)

Source from the content-addressed store, hash-verified

325 })
326 }
327 getComments (issue) {
328 if (!issue) return
329 // Get comments via v4 graphql api, login required and sorting feature is available
330 if (this.accessToken) return QLGetComments.call(this, issue)
331 return this.getCommentsV3(issue)
332 }
333
334 createComment () {
335 const { comment, localComments, comments } = this.state

Callers 2

getInitMethod · 0.95
GitalkComponentClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected