From 563a4dfb78aaa97febd0763e9f81a740af0dd666 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 7 Mar 2026 19:37:20 +0800 Subject: refstore/files: Implement batching --- refstore/files/batch.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 refstore/files/batch.go (limited to 'refstore/files/batch.go') diff --git a/refstore/files/batch.go b/refstore/files/batch.go new file mode 100644 index 00000000..fb804432 --- /dev/null +++ b/refstore/files/batch.go @@ -0,0 +1,11 @@ +package files + +import "codeberg.org/lindenii/furgit/refstore" + +type Batch struct { + store *Store + ops []txOp + closed bool +} + +var _ refstore.Batch = (*Batch)(nil) -- cgit v1.3.1-10-gc9f91