C# Class GitMenu.Helper

显示文件 Open project: kthompson/gitmenu

Public Methods

Method Description
Exec ( string wd, bool hidden ) : int
Exec ( string wd, bool hidden, string &output ) : int
WorkingDirectoryFromPath ( string path ) : string
WorkingDirectoryFromPath ( string path, bool &isDirectory ) : string

Gets Working Directory from a path.

Method Details

Exec() public static method

public static Exec ( string wd, bool hidden ) : int
wd string
hidden bool
return int

Exec() public static method

public static Exec ( string wd, bool hidden, string &output ) : int
wd string
hidden bool
output string
return int

WorkingDirectoryFromPath() public static method

public static WorkingDirectoryFromPath ( string path ) : string
path string
return string

WorkingDirectoryFromPath() public static method

Gets Working Directory from a path.
public static WorkingDirectoryFromPath ( string path, bool &isDirectory ) : string
path string The path to a file or folder.
isDirectory bool if set to true path is a directory.
return string