IIncrementStrategyFinder Interface

Summary

Determines the version-field increment that should be applied based on commit messages and branch context.
graph BT Type["IIncrementStrategyFinder"] class Type type-node

Syntax

public interface IIncrementStrategyFinder

Methods

Name Value Summary
DetermineIncrementedField(ICommit, ICommit, bool, EffectiveConfiguration, string) VersionField
Determines which version field to increment given the current commit, base version source, and branch configuration.
GetIncrementForcedByCommit(ICommit, IGitVersionConfiguration) VersionField
Returns the version field increment forced by a commit message keyword in commit.
GetMergedCommits(ICommit, int, IIgnoreConfiguration) IEnumerable<ICommit>
Returns the commits that were merged as part of a merge commit at the given index.

Extension Methods

Name Value Summary
NotNull<IIncrementStrategyFinder>(string) T
Throws ArgumentNullException when value is null; otherwise returns the value.
GitHub