feat(helper): add privileged transactional core

This commit is contained in:
ahp
2026-10-15 14:29:19 +03:30
parent c3046d51c0
commit 66417ab679
4 changed files with 1060 additions and 0 deletions
+11
View File
@@ -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
}