feat(helper): add privileged transactional core
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// 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
|
||||
}
|
||||
Reference in New Issue
Block a user