(path string)
| 2358 | } |
| 2359 | |
| 2360 | func cleanRepository(path string) { |
| 2361 | say.Debug("cleanrepository: Delete " + path) |
| 2362 | err := os.RemoveAll(path) |
| 2363 | if err != nil { |
| 2364 | say.Error("Could not remove directory " + path) |
| 2365 | say.Error(err.Error()) |
| 2366 | return |
| 2367 | } |
| 2368 | } |
| 2369 | |
| 2370 | func createRemoteRepository(path string) { |
| 2371 | branch := "master" // fixed to master for now |
no test coverage detected