MCPcopy
hub / github.com/di-sukharev/opencommit / urlIsHttpHttpsScheme

Function urlIsHttpHttpsScheme

out/cli.cjs:51009–51013  ·  view source on GitHub ↗
(url2)

Source from the content-addressed store, hash-verified

51007 return protocol === "about:" || protocol === "blob:" || protocol === "data:";
51008 }
51009 function urlHasHttpsScheme(url2) {
51010 if (typeof url2 === "string") {
51011 return url2.startsWith("https:");
51012 }
51013 return url2.protocol === "https:";
51014 }
51015 function urlIsHttpHttpsScheme(url2) {
51016 assert2("protocol" in url2);

Callers 7

requestBadPortFunction · 0.85
finalizeAndReportTimingFunction · 0.85
mainFetchFunction · 0.85
httpRedirectFetchFunction · 0.85
addAllMethod · 0.85
putMethod · 0.85
#batchCacheOperationsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…