C# Class GitSharp.Core.RevWalk.FooterLine

Single line at the end of a message, such as a "Signed-off-by: someone". These footer lines tend to be used to represent additional information about a commit, like the path it followed through reviewers before finally being accepted into the project's main repository as an immutable commit.
Mostra file Open project: jagregory/GitSharp

Public Methods

Method Description
FooterLine ( byte b, Encoding e, int ks, int ke, int vs, int ve ) : System.Text
Matches ( FooterKey key ) : bool

ToString ( ) : string
getEmailAddress ( ) : string

Extract the email address (if present) from the footer. If there is an email address looking string inside of angle brackets (e.g. "<a@b>"), the return value is the part extracted from inside the brackets. If no brackets are found, then Value is returned if the value contains an '@' sign. Otherwise, null.

Method Details

FooterLine() public method

public FooterLine ( byte b, Encoding e, int ks, int ke, int vs, int ve ) : System.Text
b byte
e System.Text.Encoding
ks int
ke int
vs int
ve int
return System.Text

Matches() public method

public Matches ( FooterKey key ) : bool
key FooterKey /// Key to test this line's key name against. ///
return bool

ToString() public method

public ToString ( ) : string
return string

getEmailAddress() public method

Extract the email address (if present) from the footer. If there is an email address looking string inside of angle brackets (e.g. "<a@b>"), the return value is the part extracted from inside the brackets. If no brackets are found, then Value is returned if the value contains an '@' sign. Otherwise, null.
public getEmailAddress ( ) : string
return string