ref: cf02f2958c191bea02126faf8daf72a7aae76bd9
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
}