15 lines
254 B
Go
15 lines
254 B
Go
//go:build !linux && !darwin
|
|
|
|
package artifacts
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
func acquireHeldFileLock(_ *os.File) error {
|
|
return fmt.Errorf("held file locks are unsupported on %s", runtime.GOOS)
|
|
}
|
|
|
|
func releaseHeldFileLock(_ *os.File) error { return nil }
|