func (a *BundleArchive) ExpandTo(dir string) error {
	zipr, err := a.zopen.openZip()
	if err != nil {
		return err
	}
	defer zipr.Close()
	return ziputil.ExtractAll(zipr.Reader, dir)
}
// ExpandTo expands the bundle archive into dir, creating it if necessary.
// If any errors occur during the expansion procedure, the process will
// abort.
ExpandTo expands the bundle archive into dir, creating it if necessary.
If any errors occur during the expansion procedure, the process will
abort.
// ExpandTo expands the bundle archive into dir creating it if necessary . // If any errors occur during the expansion procedure the process will // abort .
func (a *BundleArchive) ExpandTo(dir string) error {
	zipr, err := a.zopen.openZip()
	if err != nil {
		return err
	}
	defer zipr.Close()
	return ziputil.ExtractAll(zipr.Reader, dir)
}
func ( a * BundleArchive ) ExpandTo ( dir string ) error { zipr , err := a . zopen . openZip ( ) if err != nil { return err } defer zipr . Close ( ) return ziputil . ExtractAll ( zipr . Reader , dir ) }
ExpandTo expands the bundle archive into dir, creating it if necessary.
ExpandTo expands the bundle archive into dir creating it if necessary .