MCPcopy Create free account
hub / github.com/M66B/FairEmail / getUrl

Method getUrl

app/src/extra/java/eu/faircode/email/VirusTotal.java:58–60  ·  view source on GitHub ↗
(File file)

Source from the content-addressed store, hash-verified

56 private static final int VT_ANALYSIS_CHECKS = 50; // 50 x 6 sec = 5 minutes
57
58 static String getUrl(File file) throws IOException, NoSuchAlgorithmException {
59 return URI_ENDPOINT + "gui/file/" + getHash(file);
60 }
61
62 static Bundle lookup(Context context, File file, String apiKey) throws NoSuchAlgorithmException, IOException, JSONException {
63 Bundle result = new Bundle();

Callers

nothing calls this directly

Calls 1

getHashMethod · 0.95

Tested by

no test coverage detected