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

Method getRepos

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

* List the repositories in an organization * @see https://developer.github.com/v3/repos/#list-organization-repositories * @param {Requestable.callback} [cb] - will receive the list of repositories * @return {Promise} - the promise for the http request

(cb)

Source from the content-addressed store, hash-verified

40 * @return {Promise} - the promise for the http request
41 */
42 getRepos(cb) {
43 let requestOptions = this._getOptionsWithDefaults({direction: 'desc'});
44
45 return this._requestAllPages(`/orgs/${this.__name}/repos`, requestOptions, cb);
46 }
47
48 /**
49 * Query if the user is a member or not

Callers 1

Calls 2

_requestAllPagesMethod · 0.80

Tested by

no test coverage detected