release/boshrelease.go
func LoadBoshRelease(releaseRepo pull.Release, path string) (release *BoshRelease, err error) {
	var rr io.ReadCloser
	rr, err = releaseRepo.Read(path)
	if err != nil {
		return
	}
	defer func() {
		if cerr := rr.Close(); cerr != nil {
			err = cerr
		}
	}()
	release, err = readBoshRelease(rr)
	return
}
func LoadBoshRelease(releaseRepo pull.Release, path string) (release *BoshRelease, err error) {
	var rr io.ReadCloser
	rr, err = releaseRepo.Read(path)
	if err != nil {
		return
	}
	defer func() {
		if cerr := rr.Close(); cerr != nil {
			err = cerr
		}
	}()
	release, err = readBoshRelease(rr)
	return
}
// LoadBoshRelease creates an initialized boshRelease instance from the
// specifed local or remote .tgz file