Fork to maintain patches against the official gitea for https://code.ceondo.com https://github.com/go-gitea/gitea

remove.go 334B

123456789101112131415
  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. }