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

Function createDirectory

mob_test.go:2242–2244  ·  view source on GitHub ↗
(t *testing.T, directory string)

Source from the content-addressed store, hash-verified

2240}
2241
2242func createDirectory(t *testing.T, directory string) (pathToDirectory string) {
2243 return ensureDirectoryExists(t, workingDir+"/"+directory)
2244}
2245
2246func ensureDirectoryExists(t *testing.T, path string) (pathToDirectory string) {
2247 err := os.MkdirAll(path, 0755)

Calls 1

ensureDirectoryExistsFunction · 0.85

Tested by

no test coverage detected