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

Method deleteComment

lib/Gist.js:183–185  ·  view source on GitHub ↗

* Delete a comment on the gist. * @see https://developer.github.com/v3/gists/comments/#delete-a-comment * @param {number} comment - the id of the comment * @param {Requestable.callback} [cb] - will receive true if the request succeeds * @return {Promise} - the Promise for the http re

(comment, cb)

Source from the content-addressed store, hash-verified

181 * @return {Promise} - the Promise for the http request
182 */
183 deleteComment(comment, cb) {
184 return this._request('DELETE', `/gists/${this.__id}/comments/${comment}`, null, cb);
185 }
186}
187
188module.exports = Gist;

Callers 1

gist.spec.jsFile · 0.80

Calls 1

_requestMethod · 0.80

Tested by

no test coverage detected