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

Method listRepos

lib/Team.js:44–47  ·  view source on GitHub ↗

* List the Team's repositories * @see https://developer.github.com/v3/orgs/teams/#list-team-repos * @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

42 * @return {Promise} - the promise for the http request
43 */
44 listRepos(cb) {
45 log(`Fetching repositories for Team ${this.__teamId}`);
46 return this._requestAllPages(`/teams/${this.__teamId}/repos`, undefined, cb);
47 }
48
49 /**
50 * Edit Team information

Callers 4

team.spec.jsFile · 0.45
error.spec.jsFile · 0.45
user.spec.jsFile · 0.45
record.jsFile · 0.45

Calls 1

_requestAllPagesMethod · 0.80

Tested by

no test coverage detected