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

Method _getFullName

lib/GitHub.js:132–140  ·  view source on GitHub ↗

* Computes the full repository name * @param {string} user - the username (or the full name) * @param {string} repo - the repository name, must not be passed if `user` is the full name * @return {string} the repository's full name

(user, repo)

Source from the content-addressed store, hash-verified

130 * @return {string} the repository's full name
131 */
132 _getFullName(user, repo) {
133 let fullname = user;
134
135 if (repo) {
136 fullname = `${user}/${repo}`;
137 }
138
139 return fullname;
140 }
141}
142
143module.exports = GitHub;

Callers 2

getRepoMethod · 0.95
getIssuesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected