PlainClone a repository into the path with the given options, isBare defines if the new repository will be bare or normal. If the path is not empty ErrRepositoryAlreadyExists is returned. TODO(mcuadros): move isBare to CloneOptions in v5
(path string, isBare bool, o *CloneOptions)
| 463 | // |
| 464 | // TODO(mcuadros): move isBare to CloneOptions in v5 |
| 465 | func PlainClone(path string, isBare bool, o *CloneOptions) (*Repository, error) { |
| 466 | return PlainCloneContext(context.Background(), path, isBare, o) |
| 467 | } |
| 468 | |
| 469 | // PlainCloneContext a repository into the path with the given options, isBare |
| 470 | // defines if the new repository will be bare or normal. If the path is not empty |
searching dependent graphs…