GitVersion.GitRepoMetadataProvider.GitRepoMetadataProvider C# (CSharp) Method

GitRepoMetadataProvider() public method

public GitRepoMetadataProvider ( IRepository repository ) : System
repository IRepository
return System
        public GitRepoMetadataProvider(IRepository repository)
        {
            mergeBaseCache = new Dictionary<Tuple<Branch, Branch>, MergeBaseData>();
            mergeBaseCommitsCache = new Dictionary<Branch, List<BranchCommit>>();
            semanticVersionTagsOnBranchCache = new Dictionary<Branch, List<SemanticVersion>>();
            this.Repository = repository;
        }