Implement os.RemoveAll()

TODO: enable test on windows once Readdir is implemented there
This commit is contained in:
Dan Kegel
2022-01-08 16:22:25 -08:00
committed by Ron Evans
parent 4417374b53
commit 47a622a903
7 changed files with 676 additions and 7 deletions
-5
View File
@@ -64,11 +64,6 @@ func Remove(path string) error {
return nil
}
// RemoveAll is a stub, it is not implemented.
func RemoveAll(path string) error {
return ErrNotImplemented
}
// Name returns the name of the file with which it was opened.
func (f *File) Name() string {
return f.name