* 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)
| 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 |
no test coverage detected