GitScc.DataServices.RepositoryGraph.GetTree C# (CSharp) 메소드

GetTree() 공개 메소드

public GetTree ( string commitId ) : GitTreeObject
commitId string
리턴 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,
            };
        }