* Get a reference * @see https://developer.github.com/v3/git/refs/#get-a-reference * @param {string} ref - the reference to get * @param {Requestable.callback} [cb] - will receive the reference's refSpec or a list of refSpecs that match `ref` * @return {Promise} - the promise for the
(ref, cb)
| 40 | * @return {Promise} - the promise for the http request |
| 41 | */ |
| 42 | getRef(ref, cb) { |
| 43 | return this._request('GET', `/repos/${this.__fullname}/git/refs/${ref}`, null, cb); |
| 44 | } |
| 45 | |
| 46 | /** |
| 47 | * Create a reference |
no test coverage detected