github.com/sdboyer/gps@v0.16.3/remove_go17.go (about)

     1  // +build go1.7
     2  
     3  package gps
     4  
     5  import "os"
     6  
     7  // go1.7 and later deal with the file perms issue in os.RemoveAll(), so our
     8  // workaround is no longer necessary.
     9  func removeAll(path string) error {
    10  	return os.RemoveAll(path)
    11  }