MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / downloadFile

Method downloadFile

Utils/src/eu/the5zig/util/Utils.java:45–47  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

43 }
44
45 public static String downloadFile(String path) {
46 return downloadFile(path, 5000);
47 }
48
49 public static String downloadFile(String path, int timeout) {
50 HttpURLConnection connection;

Callers 1

checkMD5Method · 0.95

Calls 4

openConnectionMethod · 0.45
connectMethod · 0.45
toStringMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected