public void Initialize(string projectBase, string cachePath, IFilter fileFilter, string workItemRegex) { _startDirectory = projectBase; _cachePath = cachePath; _workItemRegex = workItemRegex; _fileFilter = fileFilter; _gitHistoryExportFile = Path.Combine(cachePath, "git_history.json"); _contributionFile = Path.Combine(cachePath, "contribution.json"); _gitCli = new GitCommandLine(_startDirectory); _mapper = new PathMapper(_startDirectory); }
public virtual void Initialize(string projectBase, string cachePath, string workItemRegex) { _projectBase = projectBase; _cachePath = cachePath; _workItemRegex = workItemRegex; _historyFile = Path.Combine(cachePath, "git_history.json"); _contributionFile = Path.Combine(cachePath, "contribution.json"); _gitCli = new GitCommandLine(_projectBase); // "/" maps to _startDirectory _mapper = new PathMapper(_projectBase); }
public Parser(PathMapper mapper) { _mapper = mapper; }