getDownloadUrl method

String getDownloadUrl(
  1. Mirror mirror,
  2. Snapshot snapshot,
  3. MwmRegion region
)

Build the full download URL for a region.

CoMaps CDN URL structure: <base>/maps/<version>/<file>

Implementation

String getDownloadUrl(Mirror mirror, utils.Snapshot snapshot, utils.MwmRegion region) {
  return utils.MirrorService.buildDownloadUrl(
    mirror.baseUrl, snapshot.version, region.fileName);
}