2026-09-07 03:28:50 +00:00
|
|
|
//go:build !linux && !darwin
|
2026-08-10 18:14:09 +00:00
|
|
|
|
|
|
|
|
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 }
|