C# Class GitVersion.BranchConfigurationCalculator

Mostrar archivo Open project: GitTools/GitVersion Class Usage Examples

Public Methods

Method Description
GetBranchConfiguration ( GitVersionContext context, Branch targetBranch, IList excludedInheritBranches = null ) : GitVersion.BranchConfig

Gets the BranchConfig for the current commit.

Private Methods

Method Description
CalculateWhenMultipleParents ( IRepository repository, Commit currentCommit, Branch &currentBranch, Branch excludedBranches ) : Branch[]
InheritBranchConfiguration ( GitVersionContext context, Branch targetBranch, GitVersion.BranchConfig branchConfiguration, IList excludedInheritBranches ) : GitVersion.BranchConfig
LookupBranchConfiguration ( [ config, [ currentBranch ) : IEnumerable

Method Details

GetBranchConfiguration() public static method

Gets the BranchConfig for the current commit.
public static GetBranchConfiguration ( GitVersionContext context, Branch targetBranch, IList excludedInheritBranches = null ) : GitVersion.BranchConfig
context GitVersionContext
targetBranch Branch
excludedInheritBranches IList
return GitVersion.BranchConfig