MCPcopy Index your code
hub / github.com/codeaashu/claude-code / n2

Function n2

src/server/web/public/terminal.js:6200–6207  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

6198 !(function(e, t) {
6199 "object" == typeof exports && "object" == typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define([], t) : "object" == typeof exports ? exports.WebLinksAddon = t() : e.WebLinksAddon = t();
6200 })(self, (() => (() => {
6201 "use strict";
6202 var e = { 6: (e2, t2) => {
6203 function n2(e3) {
6204 try {
6205 const t3 = new URL(e3), n3 = t3.password && t3.username ? `${t3.protocol}//${t3.username}:${t3.password}@${t3.host}` : t3.username ? `${t3.protocol}//${t3.username}@${t3.host}` : `${t3.protocol}//${t3.host}`;
6206 return e3.toLocaleLowerCase().startsWith(n3.toLocaleLowerCase());
6207 } catch (e4) {
6208 return false;
6209 }
6210 }

Callers 1

computeLinkMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected