Ejemplo n.º 1
0
 public static Repository Clone(CloneCommand command)
 {
     command.Execute();
     return command.Repository;
 }
Ejemplo n.º 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();
     }
 }
Ejemplo n.º 3
0
 public static void Clone(CloneCommand command)
 {
     command.Execute();
 }