ref: 8f577284f47f699855dcb3ceda21aa9d8be77c2f
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
}