C# 클래스 GitVersion.LibGitExtensions

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

공개 메소드들

메소드 설명
CheckoutFilesIfExist ( this repository ) : void
CommitsPriorToThan ( this branch, DateTimeOffset olderThan ) : IEnumerable
ExcludingBranches ( [ branches, [ branchesToExclude ) : IEnumerable

Exclude the given branches (by value equality according to friendly name).

ExcludingBranches ( [ branches, [ branchesToExclude ) : IEnumerable

Exclude the given branches (by value equality according to friendly name).

GetRepositoryDirectory ( this repository, bool omitGitPostFix = true ) : string
IsDetachedHead ( this branch ) : bool
IsSameBranch ( this branch, Branch otherBranch ) : bool

Checks if the two branch objects refer to the same branch (have the same friendly name).

PeeledTarget ( this tag ) : GitObject
When ( this commit ) : DateTimeOffset

메소드 상세

CheckoutFilesIfExist() 공개 정적인 메소드

public static CheckoutFilesIfExist ( this repository ) : void
repository this
리턴 void

CommitsPriorToThan() 공개 정적인 메소드

public static CommitsPriorToThan ( this branch, DateTimeOffset olderThan ) : IEnumerable
branch this
olderThan DateTimeOffset
리턴 IEnumerable

ExcludingBranches() 공개 정적인 메소드

Exclude the given branches (by value equality according to friendly name).
public static ExcludingBranches ( [ branches, [ branchesToExclude ) : IEnumerable
branches [
branchesToExclude [
리턴 IEnumerable

ExcludingBranches() 공개 정적인 메소드

Exclude the given branches (by value equality according to friendly name).
public static ExcludingBranches ( [ branches, [ branchesToExclude ) : IEnumerable
branches [
branchesToExclude [
리턴 IEnumerable

GetRepositoryDirectory() 공개 정적인 메소드

public static GetRepositoryDirectory ( this repository, bool omitGitPostFix = true ) : string
repository this
omitGitPostFix bool
리턴 string

IsDetachedHead() 공개 정적인 메소드

public static IsDetachedHead ( this branch ) : bool
branch this
리턴 bool

IsSameBranch() 공개 정적인 메소드

Checks if the two branch objects refer to the same branch (have the same friendly name).
public static IsSameBranch ( this branch, Branch otherBranch ) : bool
branch this
otherBranch Branch
리턴 bool

PeeledTarget() 공개 정적인 메소드

public static PeeledTarget ( this tag ) : GitObject
tag this
리턴 GitObject

When() 공개 정적인 메소드

public static When ( this commit ) : DateTimeOffset
commit this
리턴 DateTimeOffset