C# Class GitSharp.Core.Util.FS

Mostrar archivo Open project: jagregory/GitSharp

Public Methods

Method Description
canExecute ( FileSystemInfo f ) : bool
getAppStorePrefix ( ) : string
getCommonAppDataPath ( ) : string

Returns the system-wide path for application settings based on OS

getLocalAppDataPath ( ) : string

Returns the global (user-specific) path for application settings based on OS

resolve ( DirectoryInfo dir, string name ) : FileSystemInfo
setExecute ( FileInfo f, bool canExec ) : bool
supportsExecute ( ) : bool
userHome ( ) : DirectoryInfo

Private Methods

Method Description
resolveImpl ( DirectoryInfo dir, string name ) : FileSystemInfo
userHomeImpl ( ) : DirectoryInfo

Method Details

canExecute() public static method

public static canExecute ( FileSystemInfo f ) : bool
f System.IO.FileSystemInfo
return bool

getAppStorePrefix() public static method

public static getAppStorePrefix ( ) : string
return string

getCommonAppDataPath() public static method

Returns the system-wide path for application settings based on OS
public static getCommonAppDataPath ( ) : string
return string

getLocalAppDataPath() public static method

Returns the global (user-specific) path for application settings based on OS
public static getLocalAppDataPath ( ) : string
return string

resolve() public static method

public static resolve ( DirectoryInfo dir, string name ) : FileSystemInfo
dir System.IO.DirectoryInfo
name string
return System.IO.FileSystemInfo

setExecute() public static method

public static setExecute ( FileInfo f, bool canExec ) : bool
f System.IO.FileInfo
canExec bool
return bool

supportsExecute() public static method

public static supportsExecute ( ) : bool
return bool

userHome() public static method

public static userHome ( ) : DirectoryInfo
return System.IO.DirectoryInfo