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

Method getGist

lib/GitHub.js:40–42  ·  view source on GitHub ↗

* Create a new Gist wrapper * @param {string} [id] - the id for the gist, leave undefined when creating a new gist * @return {Gist}

(id)

Source from the content-addressed store, hash-verified

38 * @return {Gist}
39 */
40 getGist(id) {
41 return new Gist(id, this.__auth, this.__apiBase);
42 }
43
44 /**
45 * Create a new User wrapper

Callers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected