C# Class GitSharp.Core.SystemReader

Mostrar archivo Open project: jagregory/GitSharp Class Usage Examples

Public Methods

Method Description
getConfigFile ( string gitdir ) : FileBasedConfig

Returns the GitSharp configuration file from the OS-dependant location.

getCurrentTime ( ) : long
getHostname ( ) : string
getInstance ( ) : SystemReader
getOperatingSystem ( ) : PlatformType

Returns Windows, Linux or Mac for identification of the OS in use

getProperty ( string key ) : string
getTimezone ( long when ) : int
getenv ( string variable ) : string
openUserConfig ( ) : FileBasedConfig
setInstance ( SystemReader newReader ) : void

Method Details

getConfigFile() public abstract method

Returns the GitSharp configuration file from the OS-dependant location.
public abstract getConfigFile ( string gitdir ) : FileBasedConfig
gitdir string
return FileBasedConfig

getCurrentTime() public abstract method

public abstract getCurrentTime ( ) : long
return long

getHostname() public abstract method

public abstract getHostname ( ) : string
return string

getInstance() public static method

public static getInstance ( ) : SystemReader
return SystemReader

getOperatingSystem() public abstract method

Returns Windows, Linux or Mac for identification of the OS in use
public abstract getOperatingSystem ( ) : PlatformType
return PlatformType

getProperty() public abstract method

public abstract getProperty ( string key ) : string
key string
return string

getTimezone() public abstract method

public abstract getTimezone ( long when ) : int
when long
return int

getenv() public abstract method

public abstract getenv ( string variable ) : string
variable string
return string

openUserConfig() public abstract method

public abstract openUserConfig ( ) : FileBasedConfig
return FileBasedConfig

setInstance() public static method

public static setInstance ( SystemReader newReader ) : void
newReader SystemReader
return void