File: rename.go

package info (click to toggle)
golang-github-dchest-safefile 0.0~git20151022.0.855e8d9-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 80 kB
  • ctags: 28
  • sloc: makefile: 2
file content (9 lines) | stat: -rw-r--r-- 155 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
// +build !plan9,!windows windows,go1.5

package safefile

import "os"

func rename(oldname, newname string) error {
	return os.Rename(oldname, newname)
}