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)
| 456 | // |
| 457 | // TODO(mcuadros): move isBare to CloneOptions in v5 |
| 458 | func PlainClone(path string, isBare bool, o *CloneOptions) (*Repository, error) { |
| 459 | return PlainCloneContext(context.Background(), path, isBare, o) |
| 460 | } |
| 461 | |
| 462 | // PlainCloneContext a repository into the path with the given options, isBare |
| 463 | // defines if the new repository will be bare or normal. If the path is not empty |