Пример #1
0
        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);
        }
Пример #2
0
 public TestGitRepository AddRepository(TestGitRepository repo)
 {
     Repositories.Add(repo.Path, repo);
     return(repo);
 }