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

Method getTree

lib/Repository.js:272–274  ·  view source on GitHub ↗

* Get a description of a git tree * @see https://developer.github.com/v3/git/trees/#get-a-tree * @param {string} treeSHA - the SHA of the tree to fetch * @param {Requestable.callback} cb - will receive the callback data * @return {Promise} - the promise for the http request

(treeSHA, cb)

Source from the content-addressed store, hash-verified

270 * @return {Promise} - the promise for the http request
271 */
272 getTree(treeSHA, cb) {
273 return this._request('GET', `/repos/${this.__fullname}/git/trees/${treeSHA}`, null, cb);
274 }
275
276 /**
277 * Create a blob

Callers 2

moveMethod · 0.95
repository.spec.jsFile · 0.80

Calls 1

_requestMethod · 0.80

Tested by

no test coverage detected