Files
prx/internal/helper/lock_other.go
T

12 lines
318 B
Go
Raw Normal View History

// SPDX-License-Identifier: MIT
//go:build !unix
package helper
// lockState is a no-op on platforms without advisory file locking. prx only
// supports Unix-like systems; this exists so the package still builds elsewhere.
func lockState(_ string) (func() error, error) {
return func() error { return nil }, nil
}