Tuple<URL, Path> newChecksumUrlAndFile(Environment env, URL originalUrl, String suffix) throws IOException { URL newUrl = new URL(originalUrl.toString() + "." + suffix); return new Tuple<>(newUrl, Files.createTempFile(env.tmpFile(), name, ".zip." + suffix)); }
Path newDistroFile(Environment env) throws IOException { return Files.createTempFile(env.tmpFile(), name, ".zip"); }