func ReadBundle(path string) (Bundle, error) {
	info, err := os.Stat(path)
	if err != nil {
		return nil, err
	}
	if info.IsDir() {
		return ReadBundleDir(path)
	}
	return ReadBundleArchive(path)
}
// ReadBundle reads a Bundle from path, which can point to either a
// bundle archive or a bundle directory.
ReadBundle reads a Bundle from path, which can point to either a
bundle archive or a bundle directory.
// ReadBundle reads a Bundle from path which can point to either a // bundle archive or a bundle directory .
func ReadBundle(path string) (Bundle, error) {
	info, err := os.Stat(path)
	if err != nil {
		return nil, err
	}
	if info.IsDir() {
		return ReadBundleDir(path)
	}
	return ReadBundleArchive(path)
}
func ReadBundle ( path string ) ( Bundle , error ) { info , err := os . Stat ( path ) if err != nil { return nil , err } if info . IsDir ( ) { return ReadBundleDir ( path ) } return ReadBundleArchive ( path ) }
ReadBundle reads a Bundle from path, which can point to either a
bundle archive or a bundle directory.
ReadBundle reads a Bundle from path which can point to either a bundle archive or a bundle directory .