Summary
Locates and validates the GitVersion configuration file on the file system.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.Configuration
graph BT
Type["IConfigurationFileLocator"]
class Type type-node
Syntax
public interface IConfigurationFileLocator
Attributes
| Type | Description |
|---|---|
| Nullable |
Methods
| Name | Value | Summary |
|---|---|---|
| GetConfigurationFile |
string |
Returns the full path of the configuration file found in directoryPath, or
null if none exists. |
| Verify |
void |
Validates that at most one configuration file exists across the working and project root directories.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| NotNull |
T |
Throws
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|