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

Method createRepo

lib/User.js:211–213  ·  view source on GitHub ↗

* Create a new repository for the currently authenticated user * @see https://developer.github.com/v3/repos/#create * @param {object} options - the repository definition * @param {Requestable.callback} [cb] - will receive the API response * @return {Promise} - the promise for the htt

(options, cb)

Source from the content-addressed store, hash-verified

209 * @return {Promise} - the promise for the http request
210 */
211 createRepo(options, cb) {
212 return this._request('POST', '/user/repos', options, cb);
213 }
214}
215
216module.exports = User;

Callers 5

project.spec.jsFile · 0.45
team.spec.jsFile · 0.45
repository.spec.jsFile · 0.45
issue.spec.jsFile · 0.45

Calls 1

_requestMethod · 0.80

Tested by

no test coverage detected