MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / text

Function text

packages/core/test-servers/src/worker.ts:38–42  ·  view source on GitHub ↗
(body: string, init?: ResponseInit)

Source from the content-addressed store, hash-verified

36 });
37
38const text = (body: string, init?: ResponseInit) =>
39 new Response(body, {
40 ...init,
41 headers: { "content-type": "text/plain; charset=utf-8", ...init?.headers },
42 });
43
44const redirect = (location: string) => new Response(null, { status: 302, headers: { location } });
45

Callers 10

handleLoginFunction · 0.85
handleMcpFunction · 0.85
inputOutputPathFunction · 0.85
executor-schema.tsFile · 0.85
schema.tsFile · 0.85
executor-schema.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected