rclone/vendor/github.com/sevlyar/go-daemon/lock_file_stub.go

16 lines
303 B
Go
Raw Normal View History

// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!plan9,!solaris
package daemon
func lockFile(fd uintptr) error {
return errNotSupported
}
func unlockFile(fd uintptr) error {
return errNotSupported
}
func getFdName(fd uintptr) (name string, err error) {
return "", errNotSupported
}