Property | Type | Description | |
---|---|---|---|
ContributorRegex | |||
DateTimeRegex | |||
SHAExpression | |||
TrailingDotGitExpression | |||
UnixEPOCH | System.DateTime |
Method | Description | |
---|---|---|
CreateGitDirectoryStructure ( string path ) : void |
Creates the structure for a blank git repository
|
|
FileCopy ( string srcdir, string destdir, bool recursive ) : void | ||
IsGitRepository ( string path, |
Verifies dir is, or contains a .git directory
|
|
IsValidSHA ( string input ) : bool | ||
IsValidSHA ( string input, string &sha ) : bool | ||
StripDate ( string input, string &remainder ) : System.DateTime |
Check for trailing date like (1225481010 +0100) and returns it + the remainder of the string. If no trailing date is found DateTime.MinValue is returned
|
public static CreateGitDirectoryStructure ( string path ) : void | ||
path | string | |
return | void |
public static FileCopy ( string srcdir, string destdir, bool recursive ) : void | ||
srcdir | string | |
destdir | string | |
recursive | bool | |
return | void |
public static IsGitRepository ( string path, |
||
path | string | |
gitDir | This contains a reference to the .git directory | |
return | bool |
public static IsValidSHA ( string input ) : bool | ||
input | string | |
return | bool |
public static IsValidSHA ( string input, string &sha ) : bool | ||
input | string | |
sha | string | |
return | bool |
public static StripDate ( string input, string &remainder ) : System.DateTime | ||
input | string | The string to strip the trailing date from |
remainder | string | The remainder of input without the date |
return | System.DateTime |
public static Regex,System.Text.RegularExpressions ContributorRegex | ||
return |
public static Regex,System.Text.RegularExpressions DateTimeRegex | ||
return |
public static Regex,System.Text.RegularExpressions SHAExpression | ||
return |
public static Regex,System.Text.RegularExpressions TrailingDotGitExpression | ||
return |