* Get a single branch * @see https://developer.github.com/v3/repos/branches/#get-branch * @param {string} branch - the name of the branch to fetch * @param {Requestable.callback} cb - will receive the branch from the API * @returns {Promise} - the promise for the http request
(branch, cb)
| 160 | * @returns {Promise} - the promise for the http request |
| 161 | */ |
| 162 | getBranch(branch, cb) { |
| 163 | return this._request('GET', `/repos/${this.__fullname}/branches/${branch}`, null, cb); |
| 164 | } |
| 165 | |
| 166 | /** |
| 167 | * Get a commit from the repository |
no test coverage detected