GitCommands.GitCommands.GetRebaseDir C# (CSharp) Method

GetRebaseDir() public static method

public static GetRebaseDir ( ) : string
return string
        public static string GetRebaseDir()
        {
            if (Directory.Exists(Settings.WorkingDir + ".git" + Settings.PathSeperator + "rebase-apply" + Settings.PathSeperator))
                return Settings.WorkingDir + ".git" + Settings.PathSeperator + "rebase-apply" + Settings.PathSeperator;
            if (Directory.Exists(Settings.WorkingDir + ".git" + Settings.PathSeperator + "rebase" + Settings.PathSeperator))
                return Settings.WorkingDir + ".git" + Settings.PathSeperator + "rebase" + Settings.PathSeperator;

            return "";
        }
GitCommands