Example #1
0
 public static Repository Clone(CloneCommand command)
 {
     command.Execute();
     return command.Repository;
 }
Example #2
0
 public static void Clone(string fromUrl, DirectoryInfo toPath, bool isQuiet)
 {
     CloneCommand cmd = new CloneCommand();
     if (cmd != null)
     {
         cmd.Path = fromUrl;
         cmd.Directory = toPath.FullName;
         cmd.Quiet = isQuiet;
         cmd.Execute();
     }
 }
Example #3
0
 public static void Clone(CloneCommand command)
 {
     command.Execute();
 }