11 lines
292 B
Go
11 lines
292 B
Go
//go:build !unix
|
|
|
|
package datasets
|
|
|
|
import "context"
|
|
|
|
// flockExclusive is a no-op on platforms without flock. The service targets
|
|
// Linux containers; this stub only keeps non-Unix builds compiling.
|
|
func flockExclusive(_ context.Context, _ string) (func(), error) {
|
|
return func() {}, nil
|
|
}
|