Initial commit
Proof-of-concept implementation. Bugs will occur.
This commit is contained in:
9
vendor/github.com/hanwen/go-fuse/v2/internal/renameat/renameat.go
generated
vendored
Normal file
9
vendor/github.com/hanwen/go-fuse/v2/internal/renameat/renameat.go
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
package renameat
|
||||
|
||||
// Renameat is a wrapper around renameat syscall.
|
||||
// On Linux, it is a wrapper around renameat2(2).
|
||||
// On Darwin, it is a wrapper around renameatx_np(2).
|
||||
// On FreeBSD, it is a wrapper around renameat(2).
|
||||
func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) {
|
||||
return renameat(olddirfd, oldpath, newdirfd, newpath, flags)
|
||||
}
|
||||
Reference in New Issue
Block a user