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

Function removeFile

mob_test.go:2254–2259  ·  view source on GitHub ↗
(t *testing.T, path string)

Source from the content-addressed store, hash-verified

2252}
2253
2254func removeFile(t *testing.T, path string) {
2255 err := os.Remove(path)
2256 if err != nil {
2257 failWithFailure(t, "no error", fmt.Sprintf("error %v occured deleting file %s", err, path))
2258 }
2259}
2260
2261func moveFile(t *testing.T, oldPath string, newPath string) {
2262 err := os.Rename(oldPath, newPath)

Calls 1

failWithFailureFunction · 0.70

Tested by

no test coverage detected