Метод |
Описание |
|
AddComment ( string comment, string &args, TempFile &tempFile ) : void |
|
|
Execute ( ProcessStartInfo startInfo, string &stdout, string &stderr ) : int |
|
|
ExecuteUnless ( ProcessStartInfo startInfo, string unless ) : bool |
|
|
FailExitCode ( string exec, string args, string stdout, string stderr, int exitCode ) : void |
|
|
FindInPathVar ( string filename, string &foundPath ) : bool |
|
|
FindInPaths ( string filename, IEnumerable searchPaths, string &foundPath ) : bool |
|
|
GetStartInfo ( string args ) : ProcessStartInfo |
|
|
GetUtcTimeString ( DateTime localTime ) : string |
|
|
GitExec ( string args ) : void |
|
|
GitExecUnless ( string args, string unless ) : bool |
|
|
NeedsQuoting ( char c ) : bool |
|
|
Quote ( string arg ) : string |
Puts quotes around a command-line argument if it includes whitespace or quotes. There are two things going on in this method: quoting and escaping. Quoting puts the entire string in quotes, whereas escaping is per- character. Quoting happens only if necessary, when whitespace or a quote is encountered somewhere in the string, and escaping happens only within quoting. Spaces don't need escaping, since that's what the quotes are for. Slashes don't need escaping because apparently a backslash is only interpreted as an escape when it precedes a quote. Otherwise both slash and backslash are just interpreted as directory separators. |
|
memoryStreamToString ( MemoryStream strm ) : string |
|
|
parseOutput ( StreamReader output, char mark ) : string |
|
|