ref: 803089a76171db1dd5b891fb6dfa1b7e7f3d50d2
dir: /refstore/files/batch_abort.go/
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
}