You've already forked postgres_exporter
mirror of
https://github.com/prometheus-community/postgres_exporter.git
synced 2025-08-08 04:42:07 +03:00
10 lines
155 B
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)
|
|
}
|