aboutsummaryrefslogtreecommitdiff
path: root/src/os/path.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/path.go')
-rw-r--r--src/os/path.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/os/path.go b/src/os/path.go
index 9d7ecad792..ba43ea3525 100644
--- a/src/os/path.go
+++ b/src/os/path.go
@@ -58,9 +58,6 @@ 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