You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
334 B

  1. // +build !windows,!go1.7 go1.7
  2. // Copyright 2017 The Gitea Authors. All rights reserved.
  3. // Use of this source code is governed by a MIT-style
  4. // license that can be found in the LICENSE file.
  5. package util
  6. import "os"
  7. // RemoveAll files from Go version 1.7 onward
  8. func RemoveAll(path string) error {
  9. return os.RemoveAll(path)
  10. }