package cache import "os" func openLockFile(lockPath string) (*os.File, error) { return os.OpenFile(lockPath, os.O_CREATE|os.O_RDWR, 0o600) }