Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 1m3s
event/backend/log/kv/api over one injected backend protocol (mem default). log: append/read/read-from, sequential per-stream seq, stream isolation. kv: get/put/delete/has?/keys/get-or/update. conformance.sh + 3 suites, 28/28. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
11 lines
407 B
Plaintext
11 lines
407 B
Plaintext
; persist/api — the public entry point. persist/open returns a backend (the
|
|
; in-memory one by default; pass a custom backend to inject file/pg/ipfs-ref).
|
|
; All facet functions take this backend as their first argument.
|
|
; Requires: lib/persist/backend.sx, lib/persist/log.sx, lib/persist/kv.sx.
|
|
|
|
(define
|
|
persist/open
|
|
(fn
|
|
(&rest args)
|
|
(if (= (len args) 0) (persist/mem-backend) (first args))))
|