memory/jsonl: add disk-backed Store with full CRUD, Compact, flock, and provider adapter
This commit is contained in:
1 parent
1acf0d48a3
commit
d2491dc90f
5 files changed
+828
-1
No files matched your search
@@ -0,0 +1,13 @@
|
||||
//go:build windows
|
||||
|
||||
package jsonl
|
||||
|
||||
import "os"
|
||||
|
||||
// lockExclusive is a no-op on Windows. Cross-process safety on Windows
|
||||
// would require LockFileEx / Mutex; out of scope for this default
|
||||
// implementation. Single-process Windows users are unaffected.
|
||||
func lockExclusive(_ *os.File) error { return nil }
|
||||
|
||||
// lockShared is a no-op on Windows. See lockExclusive.
|
||||
func lockShared(_ *os.File) error { return nil }
|
||||
Reference in new issue
Block a user