| 14 | type RemoteCreateCallback func(repo *Repository, name, url string) (*Remote, error) |
| 15 | |
| 16 | type CloneOptions struct { |
| 17 | CheckoutOptions CheckoutOptions |
| 18 | FetchOptions FetchOptions |
| 19 | Bare bool |
| 20 | CheckoutBranch string |
| 21 | RemoteCreateCallback RemoteCreateCallback |
| 22 | } |
| 23 | |
| 24 | func Clone(url string, path string, options *CloneOptions) (*Repository, error) { |
| 25 | curl := C.CString(url) |
nothing calls this directly
no outgoing calls
no test coverage detected