mirror of
https://github.com/hanzoai/go-fuse.git
synced 2026-10-30 14:46:18 +00:00
Tested on MacOS 14.2 (macfuse 4.5.0) and Ubuntu 20.04.2 (Linux 5.15.0) Change-Id: I3f4f92c2d2aa3f4fc3696b661fa3cb0e3b43282b
12 lines
271 B
Go
12 lines
271 B
Go
package renameat
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
const (
|
|
RENAME_EXCHANGE = unix.RENAME_EXCHANGE
|
|
)
|
|
|
|
func renameat(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) {
|
|
return unix.Renameat2(olddirfd, oldpath, newdirfd, newpath, flags)
|
|
}
|