Пример #1
0
 private Path FindTopLevelDirectory(string directory)
 {
     try
     {
         var app = new GitApplication(directory);
         return app.Execute(new RevParse());
     }
     catch
     {
         return null;
     }
 }
Пример #2
0
 public void CreateRepository()
 {
     Git = new GitApplication(Root.FullName);
     Git.Execute(new Init());
 }