MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / fetchUrl

Function fetchUrl

packages/server-e2e/src/report.ts:594–598  ·  view source on GitHub ↗
(input: Parameters<typeof fetch>[0])

Source from the content-addressed store, hash-verified

592}
593
594function fetchUrl(input: Parameters<typeof fetch>[0]): string {
595 if (typeof input === 'string') return input;
596 if (input instanceof URL) return input.toString();
597 return input.url;
598}
599
600function pathFromUrl(url: string): string {
601 try {

Callers 1

fetchWithReportFunction · 0.85

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected