internal PackageDownload GetPackageDownload(string name) { var down = new PackageDownload(name, plasmaDownloader); down.Start(); return(down); }
PackageDownload CreateDownload(Repository repo, Version versionEntry) { var down = new PackageDownload(repo.BaseUrl, versionEntry.InternalName, versionEntry.Hash, plasmaDownloader.SpringPaths); if (versionEntry.Dependencies != null) { foreach (var dept in versionEntry.Dependencies) { if (!string.IsNullOrEmpty(dept)) { var dd = plasmaDownloader.GetResource(DownloadType.UNKNOWN, dept); if (dd != null) { down.AddNeededDownload(dd); } } } } down.Start(); return(down); }
PackageDownload CreateDownload(Repository repo, Version versionEntry) { var down = new PackageDownload(repo.BaseUrl, versionEntry.InternalName, versionEntry.Hash, plasmaDownloader.SpringPaths); if (versionEntry.Dependencies != null) { foreach (var dept in versionEntry.Dependencies) { if (!string.IsNullOrEmpty(dept)) { var dd = plasmaDownloader.GetResource(DownloadType.UNKNOWN, dept); if (dd != null) down.AddNeededDownload(dd); } } } down.Start(); return down; }
internal PackageDownload GetPackageDownload(string name) { var down = new PackageDownload(name, plasmaDownloader); down.Start(); return down; }