Signed-off-by: Adrian Cole <adrian@tetrate.io> Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com> Co-authored-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
12 lines
265 B
Go
12 lines
265 B
Go
//go:build windows
|
|
|
|
package sysfs
|
|
|
|
import "syscall"
|
|
|
|
// fchown is not supported on windows. For example, syscall.Fchown returns
|
|
// syscall.EWINDOWS, which is the same as syscall.ENOSYS.
|
|
func fchown(fd uintptr, uid, gid int) syscall.Errno {
|
|
return syscall.ENOSYS
|
|
}
|