MCPcopy Create free account
hub / github.com/cloudflare/serverless-registry / createRequest

Function createRequest

test/index.test.ts:102–104  ·  view source on GitHub ↗
(method: string, path: string, body: ReadableStream | null, headers = {})

Source from the content-addressed store, hash-verified

100}
101
102function createRequest(method: string, path: string, body: ReadableStream | null, headers = {}) {
103 return new Request(new URL("https://registry.com" + path), { method, body: body, headers });
104}
105
106function shuffleArray<T>(array: T[]) {
107 for (let i = array.length - 1; i > 0; i--) {

Callers 6

generateManifestFunction · 0.85
index.test.tsFile · 0.85
uploadManifestFunction · 0.85
mountLayersFromManifestFunction · 0.85
getReferrersIndexFunction · 0.85
runGarbageCollectorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected