public API_NGit gitExe_GitHub_Clone(string repoName) { "\n\n *** gitExe_GitHub_Clone ***\n\n".info(); var repo_Source = GitHub_Repo_Path.format(repoName); var repo_Clone_Name = repoName.append("_GitExe_GitHub_").add_RandomLetters(3); return(gitExe_Clone(repo_Source, repo_Clone_Name)); }
public API_NGit gitHub_Clone(string repoName) { if (Skip_Online_Tests) { "*** Skip_Online_Tests is set to true so Skipping GitHub clone".debug(); return(null); } var gitCloneUrl = GitHub_Repo_Path.format(repoName); var repo_Clone = Temp_Cloned_Repos.pathCombine(repoName.append("_GitHub").add_RandomLetters(3)); Assert.IsFalse(repo_Clone.dirExists()); var nGit = gitCloneUrl.git_Clone(repo_Clone); Assert.IsTrue(repo_Clone.dirExists()); Assert.IsNotNull(nGit); return(nGit); }