MCPcopy
hub / github.com/byoungd/up / isExternal

Function isExternal

scripts/check-content.mjs:37–37  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

35}
36
37const isExternal = (t) => /^(https?:|mailto:|tel:|data:|\/\/)/i.test(t);
38
39/** 把 Docsify 的 `/threads/...` 路由解析为 docs 下的真实文件路径。 */
40function routeToFile(route) {

Callers 2

resolveTargetFunction · 0.85
summaryTargetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected