/usr/share/gocode/src/github.com/dchest/safefile/rename.go is in golang-github-dchest-safefile-dev 0.0~git20151022.0.855e8d9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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)
}
|