From 4a796e64ac576d6a3e3f2fe6174c4aa476ea0c5c Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 23 Mar 2026 03:25:44 +0000 Subject: refstore: Improve interfaces, errors, and make batch work --- refstore/files/batch_queue.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'refstore/files/batch_queue.go') diff --git a/refstore/files/batch_queue.go b/refstore/files/batch_queue.go index 4a3b3cf1..5937c6fb 100644 --- a/refstore/files/batch_queue.go +++ b/refstore/files/batch_queue.go @@ -1,9 +1,5 @@ package files -func (batch *Batch) queue(op txOp) { - if batch.closed { - return - } - +func (batch *Batch) queue(op queuedUpdate) { batch.ops = append(batch.ops, op) } -- cgit v1.3.1-10-gc9f91