func (ba *PackageArchive) GetFileDownloadLocation(file *archive.File, packageName string, version string) (string, error) {
	if file == nil {
		return "", fmt.Errorf("file is empty")
	}
	return file.Info.DownloadLocation, nil
}
// GetFileDownloadLocation obtains the location of the file in the archive
GetFileDownloadLocation obtains the location of the file in the archive
// GetFileDownloadLocation obtains the location of the file in the archive
func (ba *PackageArchive) GetFileDownloadLocation(file *archive.File, packageName string, version string) (string, error) {
	if file == nil {
		return "", fmt.Errorf("file is empty")
	}
	return file.Info.DownloadLocation, nil
}
func ( ba * PackageArchive ) GetFileDownloadLocation ( file * archive . File , packageName string , version string ) ( string , error ) { if file == nil { return " " , fmt . Errorf ( " " ) } return file . Info . DownloadLocation , nil }
GetFileDownloadLocation obtains the location of the file in the archive
GetFileDownloadLocation obtains the location of the file in the archive