IConfigurationFileLocator Interface

Summary

Locates and validates the GitVersion configuration file on the file system.
graph BT Type["IConfigurationFileLocator"] class Type type-node

Syntax

public interface IConfigurationFileLocator

Methods

Name Value Summary
GetConfigurationFile(string) string
Returns the full path of the configuration file found in directoryPath, or null if none exists.
Verify(string, string) void
Validates that at most one configuration file exists across the working and project root directories.

Extension Methods

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