Example #1
0
 public string CatFile_Tree(string hash, string filePath)
 {
     using (var catFile = git.CatFile(hash))
     {
         return(GitCatFile.ParseTree(catFile, filePath));
     }
 }
Example #2
0
 public int CatFile_Blob(string hash, int[] lines, int linesNumber)
 {
     using (var catFile = git.CatFile(hash))
     {
         return(GitCatFile.ParseBlob(catFile, lines, linesNumber));
     }
 }
Example #3
0
        ///////////////////////////////////////////////////

        public string CatFile_Commit(string revision)
        {
            using (var catFile = git.CatFile(revision))
            {
                return(GitCatFile.ParseCommit(catFile));
            }
        }