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

Method delete

lib/Gist.js:56–58  ·  view source on GitHub ↗

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

(cb)

Source from the content-addressed store, hash-verified

54 * @return {Promise} - the Promise for the http request
55 */
56 delete(cb) {
57 return this._request('DELETE', `/gists/${this.__id}`, null, cb);
58 }
59
60 /**
61 * Fork a gist.

Callers 1

gist.spec.jsFile · 0.80

Calls 1

_requestMethod · 0.80

Tested by

no test coverage detected