GitCommands.GitCommands.GetRemoteHeads C# (CSharp) Method

GetRemoteHeads() public static method

public static GetRemoteHeads ( string remote, bool tags, bool branches ) : List
remote string
tags bool
branches bool
return List
        public static List<GitHead> GetRemoteHeads(string remote, bool tags, bool branches)
        {
            remote = FixPath(remote);

            var tree = GetTreeFromRemoteHeands(remote, tags, branches);
            return GetHeads(tree);
        }
GitCommands