code: func (o *ObjectStorage) Commit() error {
  	iter, err := o.temporal.IterEncodedObjects(plumbing.AnyObject)
  	if err != nil {
  		return err
  	}
  
  	return iter.ForEach(func(obj plumbing.EncodedObject) error {
  		_, err := o.EncodedObjectStorer.SetEncodedObject(obj)
  		return err
  	})
  }
docs: // Commit it copies the objects of the temporal storage into the base storage.