// Rollback rollabck's dataset snapshot
Rollback rollabck's dataset snapshot
// Rollback rollabck ' s dataset snapshot
func (d *Dataset) Rollback(snap *Dataset, force bool) (err error) {
	if d.list == nil {
		err = errors.New(msgDatasetIsNil)
		return
	}
	if errc := C.dataset_rollback(d.list, snap.list, booleanT(force)); errc != 0 {
		err = LastError()
		return
	}
	d.ReloadProperties()
	return
}
func ( d * Dataset ) Rollback ( snap * Dataset , force bool ) ( err error ) { if d . list == nil { err = errors . New ( msgDatasetIsNil ) return } if errc := C . dataset_rollback ( d . list , snap . list , booleanT ( force ) ) ; errc != 0 { err = LastError ( ) return } d . ReloadProperties ( ) return }
Rollback rollabck's dataset snapshot
Rollback rollabck ' s dataset snapshot