Summary
Specifies which commits or time ranges should be excluded from version calculation.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.Configuration
graph BT
Type["IIgnoreConfiguration"]
class Type type-node
Syntax
public interface IIgnoreConfiguration
Attributes
| Type | Description |
|---|---|
| Nullable |
Properties
| Name | Value | Summary |
|---|---|---|
| Before | Nullable |
Gets the cut-off date before which commits are ignored;
null means no date filter is applied. |
| Branches | IReadOnlySet |
Gets the regular expressions matching branch names that should be excluded as version sources.
|
| IsEmpty | bool |
Gets a value indicating whether this configuration contains no ignore rules.
|
| Paths | IReadOnlySet |
Gets the set of file paths whose changes should be ignored during version calculation.
|
| Shas | IReadOnlySet |
Gets the set of commit SHAs that should be excluded from version calculation.
|
| Tags | IReadOnlySet |
Gets the regular expressions matching tag names that should be excluded as version sources.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| NotNull |
T |
Throws
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|