C# Class GitSharp.Core.SystemReader

Afficher le fichier Open project: jagregory/GitSharp Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

getCurrentTime() public abstract méthode

public abstract getCurrentTime ( ) : long
Résultat long

getHostname() public abstract méthode

public abstract getHostname ( ) : string
Résultat string

getInstance() public static méthode

public static getInstance ( ) : SystemReader
Résultat SystemReader

getOperatingSystem() public abstract méthode

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

getProperty() public abstract méthode

public abstract getProperty ( string key ) : string
key string
Résultat string

getTimezone() public abstract méthode

public abstract getTimezone ( long when ) : int
when long
Résultat int

getenv() public abstract méthode

public abstract getenv ( string variable ) : string
variable string
Résultat string

openUserConfig() public abstract méthode

public abstract openUserConfig ( ) : FileBasedConfig
Résultat FileBasedConfig

setInstance() public static méthode

public static setInstance ( SystemReader newReader ) : void
newReader SystemReader
Résultat void