//go:build !windows package caches import "syscall" func tryLockFile(fd int) error { return syscall.Flock(fd, syscall.LOCK_EX|syscall.LOCK_NB) }