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

Method listCommits

lib/Gist.js:117–119  ·  view source on GitHub ↗

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

(cb)

Source from the content-addressed store, hash-verified

115 * @return {Promise} - the Promise for the http request
116 */
117 listCommits(cb) {
118 return this._requestAllPages(`/gists/${this.__id}/commits`, null, cb);
119 }
120
121 /**
122 * Fetch one of the gist's revision.

Callers 2

gist.spec.jsFile · 0.45
repository.spec.jsFile · 0.45

Calls 1

_requestAllPagesMethod · 0.80

Tested by

no test coverage detected