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

10 lines
155 B
Go
Raw Normal View History

2018-01-13 23:52:44 +01:00
// +build !plan9,!windows windows,go1.5
package safefile
import "os"
func rename(oldname, newname string) error {
return os.Rename(oldname, newname)
}