aboutsummaryrefslogtreecommitdiff
path: root/refstore/read_write_store.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-07 19:06:11 +0800
committerGravatar Runxi Yu2026-03-07 19:06:45 +0800
commit3d71db8702f58182f1f7eda3446a2c474443c7f2 (patch)
tree7d89b915f93a54fe2034b87aa57a280aaeabcecd /refstore/read_write_store.go
parentrefstore/files: Accept timeout instead of reading from config (diff)
signatureNo signature
refstore: Add non-transactional store and rw store
Diffstat (limited to 'refstore/read_write_store.go')
-rw-r--r--refstore/read_write_store.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/refstore/read_write_store.go b/refstore/read_write_store.go
new file mode 100644
index 00000000..506a9aae
--- /dev/null
+++ b/refstore/read_write_store.go
@@ -0,0 +1,8 @@
+package refstore
+
+// ReadWriteStore supports reading, atomic transactions, and immediate batches.
+type ReadWriteStore interface {
+ ReadingStore
+ TransactionalStore
+ BatchStore
+}