Метод | Описание | |
---|---|---|
ApplyBranchDefaults ( Config config, GitVersion.BranchConfig branchConfig, string branchRegex, string defaultTag = "useBranchName", IncrementStrategy defaultIncrementStrategy = null, bool defaultPreventIncrement = false, VersioningMode defaultVersioningMode = null, bool defaultTrackMergeTarget = false, string defaultTagNumberPattern = null, bool tracksReleaseBranches = false, bool isReleaseBranch = false, bool isMainline = false ) : void | ||
ApplyDefaultsTo ( Config config ) : void | ||
GetEffectiveConfigAsString ( string workingDirectory, IFileSystem fileSystem ) : string | ||
Init ( string workingDirectory, IFileSystem fileSystem, IConsole console ) : void | ||
Provide ( GitVersion.GitPreparer gitPreparer, IFileSystem fileSystem, bool applyDefaults = true, Config overrideConfig = null ) : Config | ||
Provide ( string workingDirectory, IFileSystem fileSystem, bool applyDefaults = true, Config overrideConfig = null ) : Config | ||
SelectConfigFilePath ( GitVersion.GitPreparer gitPreparer, IFileSystem fileSystem ) : string | ||
Verify ( GitVersion.GitPreparer gitPreparer, IFileSystem fileSystem ) : void | ||
Verify ( string workingDirectory, string projectRootDirectory, IFileSystem fileSystem ) : void |
Метод | Описание | |
---|---|---|
ApplyOverridesTo ( Config config, Config overrideConfig ) : void | ||
GetConfigFilePath ( string workingDirectory, IFileSystem fileSystem ) : string | ||
GetOrCreateBranchDefaults ( Config config, string branchKey ) : GitVersion.BranchConfig | ||
HasConfigFileAt ( string workingDirectory, IFileSystem fileSystem ) : bool | ||
ReadConfig ( string workingDirectory, IFileSystem fileSystem ) : Config | ||
VerifyConfiguration ( Config readConfig ) : void | ||
WarnAboutAmbiguousConfigFileSelection ( string workingDirectory, string projectRootDirectory, IFileSystem fileSystem ) : void | ||
WarnAboutObsoleteConfigFile ( string workingDirectory, IFileSystem fileSystem ) : void |
public static ApplyBranchDefaults ( Config config, GitVersion.BranchConfig branchConfig, string branchRegex, string defaultTag = "useBranchName", IncrementStrategy defaultIncrementStrategy = null, bool defaultPreventIncrement = false, VersioningMode defaultVersioningMode = null, bool defaultTrackMergeTarget = false, string defaultTagNumberPattern = null, bool tracksReleaseBranches = false, bool isReleaseBranch = false, bool isMainline = false ) : void | ||
config | Config | |
branchConfig | GitVersion.BranchConfig | |
branchRegex | string | |
defaultTag | string | |
defaultIncrementStrategy | IncrementStrategy | |
defaultPreventIncrement | bool | |
defaultVersioningMode | VersioningMode | |
defaultTrackMergeTarget | bool | |
defaultTagNumberPattern | string | |
tracksReleaseBranches | bool | |
isReleaseBranch | bool | |
isMainline | bool | |
Результат | void |
public static ApplyDefaultsTo ( Config config ) : void | ||
config | Config | |
Результат | void |
public static GetEffectiveConfigAsString ( string workingDirectory, IFileSystem fileSystem ) : string | ||
workingDirectory | string | |
fileSystem | IFileSystem | |
Результат | string |
public static Init ( string workingDirectory, IFileSystem fileSystem, IConsole console ) : void | ||
workingDirectory | string | |
fileSystem | IFileSystem | |
console | IConsole | |
Результат | void |
public static Provide ( GitVersion.GitPreparer gitPreparer, IFileSystem fileSystem, bool applyDefaults = true, Config overrideConfig = null ) : Config | ||
gitPreparer | GitVersion.GitPreparer | |
fileSystem | IFileSystem | |
applyDefaults | bool | |
overrideConfig | Config | |
Результат | Config |
public static Provide ( string workingDirectory, IFileSystem fileSystem, bool applyDefaults = true, Config overrideConfig = null ) : Config | ||
workingDirectory | string | |
fileSystem | IFileSystem | |
applyDefaults | bool | |
overrideConfig | Config | |
Результат | Config |
public static SelectConfigFilePath ( GitVersion.GitPreparer gitPreparer, IFileSystem fileSystem ) : string | ||
gitPreparer | GitVersion.GitPreparer | |
fileSystem | IFileSystem | |
Результат | string |
public static Verify ( GitVersion.GitPreparer gitPreparer, IFileSystem fileSystem ) : void | ||
gitPreparer | GitVersion.GitPreparer | |
fileSystem | IFileSystem | |
Результат | void |
public static Verify ( string workingDirectory, string projectRootDirectory, IFileSystem fileSystem ) : void | ||
workingDirectory | string | |
projectRootDirectory | string | |
fileSystem | IFileSystem | |
Результат | void |