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

Method read

lib/Gist.js:31–33  ·  view source on GitHub ↗

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

(cb)

Source from the content-addressed store, hash-verified

29 * @return {Promise} - the Promise for the http request
30 */
31 read(cb) {
32 return this._request('GET', `/gists/${this.__id}`, null, cb);
33 }
34
35 /**
36 * Create a new gist.

Callers 2

auth.spec.jsFile · 0.80
gist.spec.jsFile · 0.80

Calls 1

_requestMethod · 0.80

Tested by

no test coverage detected