C# Class GitCommands.GitRevision

Inheritance: IGitItem
Show file Open project: gitextensions/gitextensions Class Usage Examples

Public Properties

Property Type Description
ParentGuids string[]
Sha1HashRegex System.Text.RegularExpressions.Regex

Public Methods

Method Description
GitRevision ( GitModule aModule, string guid ) : System
HasParent ( ) : bool
IsArtificial ( ) : bool
IsArtificial ( string guid ) : bool
MatchesSearchString ( string searchString ) : bool
ToShortSha ( String sha ) : string
ToString ( ) : string

Private Methods

Method Description
OnPropertyChanged ( string propertyName ) : void

Method Details

GitRevision() public method

public GitRevision ( GitModule aModule, string guid ) : System
aModule GitModule
guid string
return System

HasParent() public method

public HasParent ( ) : bool
return bool

IsArtificial() public method

public IsArtificial ( ) : bool
return bool

IsArtificial() public static method

public static IsArtificial ( string guid ) : bool
guid string
return bool

MatchesSearchString() public method

public MatchesSearchString ( string searchString ) : bool
searchString string
return bool

ToShortSha() public static method

public static ToShortSha ( String sha ) : string
sha String
return string

ToString() public method

public ToString ( ) : string
return string

Property Details

ParentGuids public property

public string[] ParentGuids
return string[]

Sha1HashRegex public static property

public static Regex,System.Text.RegularExpressions Sha1HashRegex
return System.Text.RegularExpressions.Regex