C# Class GitCommands.Settings

Show file Open project: bleis-tift/gitextensions Class Usage Examples

Public Properties

Property Type Description
GitExtensionsVersionInt int
GitExtensionsVersionString string
PathSeperator char
PathSeperatorWrong char

Public Methods

Method Description
GetDictionaryDir ( ) : string
GetInstallDir ( ) : string
IsBareRepository ( ) : bool
LoadSettings ( ) : void
RunningOnMacOSX ( ) : bool
RunningOnUnix ( ) : bool
RunningOnWindows ( ) : bool
SaveSettings ( ) : void
SetInstallDir ( string dir ) : void
ValidWorkingDir ( ) : bool
ValidWorkingDir ( string dir ) : bool
WorkingDirGitDir ( ) : string

Private Methods

Method Description
GetEncoding ( ) : void
SafeSetBool ( string key, Action actionToPerformIfValueExists ) : void
SafeSetHtmlColor ( string key, Action actionToPerformIfValueExists ) : void
SafeSetInt ( string key, Action actionToPerformIfValueExists ) : void
SafeSetString ( string key, Action actionToPerformIfValueExists ) : void
SetEncoding ( ) : void
Settings ( ) : System

Method Details

GetDictionaryDir() public static method

public static GetDictionaryDir ( ) : string
return string

GetInstallDir() public static method

public static GetInstallDir ( ) : string
return string

IsBareRepository() public static method

public static IsBareRepository ( ) : bool
return bool

LoadSettings() public static method

public static LoadSettings ( ) : void
return void

RunningOnMacOSX() public static method

public static RunningOnMacOSX ( ) : bool
return bool

RunningOnUnix() public static method

public static RunningOnUnix ( ) : bool
return bool

RunningOnWindows() public static method

public static RunningOnWindows ( ) : bool
return bool

SaveSettings() public static method

public static SaveSettings ( ) : void
return void

SetInstallDir() public static method

public static SetInstallDir ( string dir ) : void
dir string
return void

ValidWorkingDir() public static method

public static ValidWorkingDir ( ) : bool
return bool

ValidWorkingDir() public static method

public static ValidWorkingDir ( string dir ) : bool
dir string
return bool

WorkingDirGitDir() public static method

public static WorkingDirGitDir ( ) : string
return string

Property Details

GitExtensionsVersionInt public static property

public static int GitExtensionsVersionInt
return int

GitExtensionsVersionString public static property

public static string GitExtensionsVersionString
return string

PathSeperator public static property

public static char PathSeperator
return char

PathSeperatorWrong public static property

public static char PathSeperatorWrong
return char