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

Method deleteRepo

lib/Repository.js:74–76  ·  view source on GitHub ↗

* Delete a repository * @see https://developer.github.com/v3/repos/#delete-a-repository * @param {Requestable.callback} [cb] - will receive true if the request is successful * @return {Promise} - the promise for the http request

(cb)

Source from the content-addressed store, hash-verified

72 * @return {Promise} - the promise for the http request
73 */
74 deleteRepo(cb) {
75 return this._request('DELETE', `/repos/${this.__fullname}`, null, cb);
76 }
77
78 /**
79 * List the tags on a repository

Callers 4

project.spec.jsFile · 0.80
repository.spec.jsFile · 0.80
issue.spec.jsFile · 0.80
deleteRepoFunction · 0.80

Calls 1

_requestMethod · 0.80

Tested by

no test coverage detected