From 3d71db8702f58182f1f7eda3446a2c474443c7f2 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 7 Mar 2026 19:06:11 +0800 Subject: refstore: Add non-transactional store and rw store --- refstore/batch_store.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 refstore/batch_store.go (limited to 'refstore/batch_store.go') diff --git a/refstore/batch_store.go b/refstore/batch_store.go new file mode 100644 index 00000000..8e821eb6 --- /dev/null +++ b/refstore/batch_store.go @@ -0,0 +1,7 @@ +package refstore + +// BatchStore begins non-atomic reference batches. +type BatchStore interface { + // BeginBatch creates one new immediate-apply batch. + BeginBatch() (Batch, error) +} -- cgit v1.3.1-10-gc9f91