MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / cleanRepository

Function cleanRepository

mob_test.go:2360–2368  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

2358}
2359
2360func 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
2370func createRemoteRepository(path string) {
2371 branch := "master" // fixed to master for now

Callers 2

createTestbedInFunction · 0.85

Calls 2

DebugFunction · 0.92
ErrorFunction · 0.92

Tested by

no test coverage detected