lib/tree.js
function Tree(source, parent, githubClient) {
    this.gh = githubClient;
    this.sha = source.sha;
    this.parent = parent;
    this.truncated = source.truncated;
    this.objects = _.cloneDeep(source.tree);
    this._source = source;
}
function Tree(source, parent, githubClient) {
    this.gh = githubClient;
    this.sha = source.sha;
    this.parent = parent;
    this.truncated = source.truncated;
    this.objects = _.cloneDeep(source.tree);
    this._source = source;
}
function Tree ( source , parent , githubClient ) { this . gh = githubClient ; this . sha = source . sha ; this . parent = parent ; this . truncated = source . truncated ; this . objects = _ . cloneDeep ( source . tree ) ; this . _source = source ; }
A git tree object.
@class Tree
@param source {Object} JSON response from API, used to build.
@param parent {Object} Expected to be {{#crossLink "Tree"}}{{/crossLink}} or
{{#crossLink "Commit"}}{{/crossLink}}.
@param githubClient {Object} GitHub API Client object.
@constructor
A git tree object .