aboutsummaryrefslogtreecommitdiff
path: root/refstore/files/batch_abort.go
diff options
context:
space:
mode:
Diffstat (limited to 'refstore/files/batch_abort.go')
-rw-r--r--refstore/files/batch_abort.go8
1 files changed, 0 insertions, 8 deletions
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
}