MCPcopy Index your code
hub / github.com/github-tools/github / listComments

Method listComments

lib/Gist.js:138–140  ·  view source on GitHub ↗

* List the gist's comments * @see https://developer.github.com/v3/gists/comments/#list-comments-on-a-gist * @param {Requestable.callback} [cb] - will receive the array of comments * @return {Promise} - the promise for the http request

(cb)

Source from the content-addressed store, hash-verified

136 * @return {Promise} - the promise for the http request
137 */
138 listComments(cb) {
139 return this._requestAllPages(`/gists/${this.__id}/comments`, null, cb);
140 }
141
142 /**
143 * Fetch one of the gist's comments

Callers 1

gist.spec.jsFile · 0.80

Calls 1

_requestAllPagesMethod · 0.80

Tested by

no test coverage detected