public TestGitRepository AddRepository(string repoPath, IDictionary <string, string> config = null) { var repoConfig = new TestGitConfiguration(repoPath, config); var repo = new TestGitRepository(repoPath, repoConfig); Repositories.Add(repoPath, repo); return(repo); }
internal TestGitRepository(string path, TestGitConfiguration configuration) { Path = path; Configuration = configuration ?? new TestGitConfiguration(); }
public TestGit(IDictionary <string, string> globalConfig = null) { GlobalConfiguration = new TestGitConfiguration(globalConfig); }
public TestGitRepository AddRepository(string repoPath, TestGitConfiguration repoConfig) => AddRepository(new TestGitRepository(repoPath, repoConfig));