| 1 | //go:build !darwin && !dragonfly && !freebsd && !illumos && !linux && !netbsd && !openbsd && !windows |
| 2 | |
| 3 | package engine |
| 4 | |
| 5 | import ( |
| 6 | "fmt" |
| 7 | "os" |
| 8 | "runtime" |
| 9 | ) |
| 10 | |
| 11 | func tryLockCacheFile(file *os.File) (bool, error) { |
| 12 | return false, fmt.Errorf("cache locking is unsupported on %s", runtime.GOOS) |
| 13 | } |
| 14 |