public static List <string> commit_Files(this RevCommit revCommit, API_NGit nGit) { var repoFiles = new List <string>(); revCommit.commit_TreeWalk(nGit, treeWalk => repoFiles.Add(treeWalk.PathString)); return(repoFiles); }
public static List <GitData_File> gitData_Files(this RevCommit revCommit, API_NGit nGit) { var gitData_Files = new List <GitData_File>(); revCommit.commit_TreeWalk(nGit, treeWalk => gitData_Files.add_File(treeWalk)); return(gitData_Files); }
public static Dictionary <string, string> commit_Files_IndexedBy_SHA1(this RevCommit revCommit, API_NGit nGit) { var repoFiles = new Dictionary <string, string>(); revCommit.commit_TreeWalk(nGit, treeWalk => { var objectId = treeWalk.GetObjectId(0); repoFiles.Add(objectId.Name, treeWalk.PathString); }); return(repoFiles); }