overseer/sys_unsupported.go

30 lines
467 B
Go
Raw Normal View History

2019-12-16 11:51:08 +00:00
// +build !linux,!darwin,!windows,!freebsd
2016-02-08 13:20:50 +00:00
package overseer
2016-02-08 13:20:50 +00:00
import (
"errors"
"os"
)
var (
supported = false
uid = 0
gid = 0
SIGUSR1 = os.Interrupt
SIGUSR2 = os.Interrupt
SIGTERM = os.Kill
)
func move(dst, src string) error {
return errors.New("Not supported")
}
2016-04-01 20:37:28 +00:00
func chmod(f *os.File, perms os.FileMode) error {
return errors.New("Not supported")
}
func chown(f *os.File, uid, gid int) error {
return errors.New("Not supported")
}