C# Класс 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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

FooterLine() публичный Метод

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
Результат System.Text

Matches() публичный Метод

public Matches ( FooterKey key ) : bool
key FooterKey /// Key to test this line's key name against. ///
Результат bool

ToString() публичный Метод

public ToString ( ) : string
Результат string

getEmailAddress() публичный Метод

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
Результат string