diff options
author | zeripath <art27@cantab.net> | 2019-03-10 21:56:36 +0000 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-03-10 23:56:36 +0200 |
commit | dbab98c8e088c04e0501fb5a2c2acd399b4f9721 (patch) | |
tree | 35bc0c5567d4998bbbfe326d011cec56c34d65be /modules/util/remove.go | |
parent | e836b8869bfb89fe7d3d1f898c35f77ffb6dfaa6 (diff) | |
download | gitea-dbab98c8e088c04e0501fb5a2c2acd399b4f9721.tar.gz gitea-dbab98c8e088c04e0501fb5a2c2acd399b4f9721.zip |
Remove util.RemoveAll - should have been removed since go 1.7 (#6299)
Diffstat (limited to 'modules/util/remove.go')
-rw-r--r-- | modules/util/remove.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/modules/util/remove.go b/modules/util/remove.go deleted file mode 100644 index 8bca149914..0000000000 --- a/modules/util/remove.go +++ /dev/null @@ -1,14 +0,0 @@ -// +build !windows,!go1.7 go1.7 - -// Copyright 2017 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. - -package util - -import "os" - -// RemoveAll files from Go version 1.7 onward -func RemoveAll(path string) error { - return os.RemoveAll(path) -} |