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

Function isSameProtocol

out/cli.cjs:6941–6945  ·  view source on GitHub ↗
(destination, original)

Source from the content-addressed store, hash-verified

6939 return orig === dest || orig[orig.length - dest.length - 1] === "." && orig.endsWith(dest);
6940 };
6941 var isSameProtocol = function isSameProtocol2(destination, original) {
6942 const orig = new URL$1(original).protocol;
6943 const dest = new URL$1(destination).protocol;
6944 return orig === dest;
6945 };
6946 function fetch4(url2, opts) {
6947 if (!fetch4.Promise) {
6948 throw new Error("native promise missing, set fetch.Promise to your favorite alternative");

Callers 1

fetch4Function · 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…