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_abort.go | 8 -------- 1 file changed, 8 deletions(-) (limited to 'refstore/files/batch_abort.go') diff --git a/refstore/files/batch_abort.go b/refstore/files/batch_abort.go index 74aaa439..0cbd1651 100644 --- a/refstore/files/batch_abort.go +++ b/refstore/files/batch_abort.go @@ -1,13 +1,5 @@ package files -import "errors" - func (batch *Batch) Abort() error { - if batch.closed { - return errors.New("refstore/files: batch already closed") - } - - batch.closed = true - return nil } -- cgit v1.3.1-10-gc9f91