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