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

Method listStarredGists

lib/User.js:162–170  ·  view source on GitHub ↗

* Gets the list of starred gists for the user * @see https://developer.github.com/v3/gists/#list-starred-gists * @param {Object} [options={}] - any options to refine the search * @param {Requestable.callback} [cb] - will receive the list of gists * @return {Promise} - the promise for

(options, cb)

Source from the content-addressed store, hash-verified

160 * @return {Promise} - the promise for the http request
161 */
162 listStarredGists(options, cb) {
163 options = options || {};
164 if (typeof options === 'function') {
165 cb = options;
166 options = {};
167 }
168 options.since = this._dateToISO(options.since);
169 return this._request('GET', '/gists/starred', options, cb);
170 }
171
172 /**
173 * List email addresses for a user

Callers 1

user.spec.jsFile · 0.80

Calls 2

_dateToISOMethod · 0.80
_requestMethod · 0.80

Tested by

no test coverage detected