MCPcopy Create free account
hub / github.com/adobe/Marinus / gcp_check

Function gcp_check

web_server/public/javascripts/api.js:363–373  ·  view source on GitHub ↗
(type, ip)

Source from the content-addressed store, hash-verified

361}
362
363function gcp_check(type, ip) {
364 var url;
365 if (type === "ipv6") {
366 url = "/api/v1.0/gcp/ipv6_check";
367 } else {
368 url = "/api/v1.0/gcp/ip_check";
369 }
370 var query = "?ip=" + ip;
371
372 make_get_request(url + query, gcp_check_result, type, "gcpResult");
373}
374
375function tracked_range_result(results) {
376 if (results['result'] === true) {

Callers 1

queriesFunction · 0.85

Calls 1

make_get_requestFunction · 0.85

Tested by

no test coverage detected