Skip to main content

Module loader

Module loader 

Source
Expand description

Configuration file discovery, YAML loading, and default merging.

Corresponds to the original GitVersion.Configuration/ConfigurationFileLocator.cs and ConfigurationProvider.cs.

Functions§

apply_source_branch_mappings
Reverse-map is-source-branch-for: if branch A declares is-source-branch-for: [X], A is added to X’s source-branches (mirrors the original ApplySourceBranchesSourceBranch).
load
Load configuration from an explicit path or by searching, then merge with workflow defaults.
locate
Search for a configuration file in dir and repo_root.
merge
Overlay over onto base (only Some / non-empty values are applied).
validate
Validate configuration (mirrors the original ConfigurationBuilderBase.ValidateConfiguration).