public GitVersionCacheKeyFactory(IFileSystem fileSystem, ILog log, IOptions <GitVersionOptions> options, IConfigFileLocator configFileLocator, IGitRepository gitRepository, IGitRepositoryInfo repositoryInfo) { this.fileSystem = fileSystem.NotNull(); this.log = log.NotNull(); this.options = options.NotNull(); this.configFileLocator = configFileLocator.NotNull(); this.gitRepository = gitRepository.NotNull(); this.repositoryInfo = repositoryInfo.NotNull(); }
public MainlineBranchFinder(IRepositoryStore repositoryStore, IGitRepository repository, Config configuration, IEnumerable <KeyValuePair <string, BranchConfig> >?mainlineBranchConfigs, ILog log) { this.repositoryStore = repositoryStore.NotNull(); this.repository = repository.NotNull(); this.configuration = configuration.NotNull(); this.mainlineBranchConfigs = mainlineBranchConfigs; this.log = log.NotNull(); }
public BranchesContainingCommitFinder(IGitRepository repository, ILog log) { this.repository = repository.NotNull(); this.log = log.NotNull(); }