mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
remove rename2 entirely, avoids the risk of moving data (#19058)
This commit is contained in:
@@ -24,11 +24,6 @@ import (
|
||||
"os"
|
||||
)
|
||||
|
||||
// Rename2 is not implemented in a non linux environment
|
||||
func Rename2(src, dst string) (err error) {
|
||||
return errSkipFile
|
||||
}
|
||||
|
||||
// RenameSys is low level call in case of non-Linux this just uses os.Rename()
|
||||
func RenameSys(src, dst string) (err error) {
|
||||
return os.Rename(src, dst)
|
||||
|
||||
Reference in New Issue
Block a user