* Get a raw blob from the repository * @see https://developer.github.com/v3/git/blobs/#get-a-blob * @param {string} sha - the sha of the blob to fetch * @param {Requestable.callback} cb - will receive the blob from the API * @return {Promise} - the promise for the http request
(sha, cb)
| 149 | * @return {Promise} - the promise for the http request |
| 150 | */ |
| 151 | getBlob(sha, cb) { |
| 152 | return this._request('GET', `/repos/${this.__fullname}/git/blobs/${sha}`, null, cb, 'raw'); |
| 153 | } |
| 154 | |
| 155 | /** |
| 156 | * Get a single branch |
no test coverage detected