GitScc.DataServices.RepositoryGraph.GetTree C# (CSharp) Method

GetTree() public method

public GetTree ( string commitId ) : GitTreeObject
commitId string
return GitTreeObject
        public GitTreeObject GetTree(string commitId)
        {
            var commit = GetCommit(commitId);
            if (commit == null) return null;

            return new GitTreeObject
            {
                Id = commitId, Name = "", FullName = "",
                Type="tree", IsExpanded= true,
                Repository = this.workingDirectory,
            };
        }