diff options
Diffstat (limited to 'libgo/go/os/path.go')
-rw-r--r-- | libgo/go/os/path.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgo/go/os/path.go b/libgo/go/os/path.go index ba43ea3..9d7ecad 100644 --- a/libgo/go/os/path.go +++ b/libgo/go/os/path.go @@ -58,6 +58,9 @@ func MkdirAll(path string, perm FileMode) error { return nil } +// removeAllTestHook is a hook for testing. +var removeAllTestHook = func(err error) error { return err } + // RemoveAll removes path and any children it contains. // It removes everything it can but returns the first error // it encounters. If the path does not exist, RemoveAll |