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

Method getRepo

lib/GitHub.js:78–80  ·  view source on GitHub ↗

* Create a new Repository wrapper * @param {string} user - the user who owns the repository * @param {string} repo - the name of the repository * @return {Repository}

(user, repo)

Source from the content-addressed store, hash-verified

76 * @return {Repository}
77 */
78 getRepo(user, repo) {
79 return new Repository(this._getFullName(user, repo), this.__auth, this.__apiBase);
80 }
81
82 /**
83 * Create a new Issue wrapper

Callers 4

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

Calls 1

_getFullNameMethod · 0.95

Tested by

no test coverage detected