GitCommands.GitModule.GetTree C# (CSharp) Method

GetTree() public method

public GetTree ( string id, bool full ) : IList
id string
full bool
return IList
        public IList<IGitItem> GetTree(string id, bool full)
        {
            string args = "-z";
            if (full)
                args += " -r";
            var tree = this.RunCacheableCmd(AppSettings.GitCommand, "ls-tree " + args + " \"" + id + "\"", SystemEncoding);

            return GitItem.CreateIGitItemsFromString(this, tree);
        }

Same methods

GitModule::GetTree ( bool tags, bool branches ) : string
GitModule