C# 클래스 GitVersion.GitRepoMetadataProvider

파일 보기 프로젝트 열기: GitTools/GitVersion 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetMergeCommitsForBranch List

공개 메소드들

메소드 설명
FindCommitBranchWasBranchedFrom ( [ branch ) : GitVersion.BranchCommit

Find the commit where the given branch was branched from another branch. If there are multiple such commits and branches, returns the newest commit.

FindMergeBase ( Branch branch, Branch otherBranch ) : Commit

Find the merge base of the two branches, i.e. the best common ancestor of the two branches' tips.

GetBranchesContainingCommit ( [ commit, IList branches, bool onlyTrackedBranches ) : IEnumerable
GetVersionTagsOnBranch ( Branch branch, string tagPrefixRegex ) : IEnumerable
GitRepoMetadataProvider ( IRepository repository ) : System

비공개 메소드들

메소드 설명
GetMergeCommitsForBranch ( Branch branch ) : List

메소드 상세

FindCommitBranchWasBranchedFrom() 공개 메소드

Find the commit where the given branch was branched from another branch. If there are multiple such commits and branches, returns the newest commit.
public FindCommitBranchWasBranchedFrom ( [ branch ) : GitVersion.BranchCommit
branch [
리턴 GitVersion.BranchCommit

FindMergeBase() 공개 메소드

Find the merge base of the two branches, i.e. the best common ancestor of the two branches' tips.
public FindMergeBase ( Branch branch, Branch otherBranch ) : Commit
branch Branch
otherBranch Branch
리턴 LibGit2Sharp.Commit

GetBranchesContainingCommit() 공개 메소드

public GetBranchesContainingCommit ( [ commit, IList branches, bool onlyTrackedBranches ) : IEnumerable
commit [
branches IList
onlyTrackedBranches bool
리턴 IEnumerable

GetVersionTagsOnBranch() 공개 메소드

public GetVersionTagsOnBranch ( Branch branch, string tagPrefixRegex ) : IEnumerable
branch Branch
tagPrefixRegex string
리턴 IEnumerable

GitRepoMetadataProvider() 공개 메소드

public GitRepoMetadataProvider ( IRepository repository ) : System
repository IRepository
리턴 System