dnscrypt-proxy/vendor/github.com/dchest/safefile/rename.go

10 lines
155 B
Go

// +build !plan9,!windows windows,go1.5
package safefile
import "os"
func rename(oldname, newname string) error {
return os.Rename(oldname, newname)
}