C# Класс GitCommands.CommitInformation

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetAllBranchesWhichContainGivenCommit ( string sha1 ) : IEnumerable

Gets all branches which contain the given commit.

GetAllTagsWhichContainGivenCommit ( string sha1 ) : IEnumerable

Gets all tags which contain the given commit.

GetCommitInfo ( string sha1 ) : CommitInformation

Gets the commit info.

Приватные методы

Метод Описание
CommitInformation ( string header, string body ) : System

Private constructor

GetField ( string data, string header ) : string
IndexOfValue ( string data, string header ) : int
LengthOfValue ( string data, int valueIndex ) : int
RemoveField ( string data, string header ) : string
RemoveRedundancies ( string info ) : string

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

GetAllBranchesWhichContainGivenCommit() публичный статический Метод

Gets all branches which contain the given commit.
public static GetAllBranchesWhichContainGivenCommit ( string sha1 ) : IEnumerable
sha1 string The sha1.
Результат IEnumerable

GetAllTagsWhichContainGivenCommit() публичный статический Метод

Gets all tags which contain the given commit.
public static GetAllTagsWhichContainGivenCommit ( string sha1 ) : IEnumerable
sha1 string The sha1.
Результат IEnumerable

GetCommitInfo() публичный статический Метод

Gets the commit info.
public static GetCommitInfo ( string sha1 ) : CommitInformation
sha1 string The sha1.
Результат CommitInformation