mirror of
https://github.com/onyx-dot-app/onyx.git
synced 2026-10-22 11:22:49 -05:00
19 lines
364 B
Go
19 lines
364 B
Go
//go:build windows
|
|
|
|
package devstack
|
|
|
|
import (
|
|
"errors"
|
|
"os"
|
|
)
|
|
|
|
var (
|
|
errWouldBlock = errors.New("lock held")
|
|
// errUnsupported is returned where process groups and flock are missing.
|
|
errUnsupported = errors.New("ods stack supports macOS and Linux only")
|
|
)
|
|
|
|
func tryFlock(*os.File) error { return errUnsupported }
|
|
|
|
func unflock(*os.File) error { return nil }
|